D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
proc
/
self
/
root
/
usr
/
share
/
doc
/
procmail
/
examples
/
Filename :
3rmail
back
Copy
#!/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 $*
Name
Size
Last Modified
Owner
Permissions
Actions
1procmailrc
0.629
KB
May 26 1994 1:46:39
root
0644
1rmail
0.395
KB
December 21 1996 3:28:15
root
0644
2procmailrc
1.942
KB
May 26 1994 1:46:40
root
0644
2rmail
0.387
KB
December 21 1996 3:28:15
root
0644
3procmailrc
1.497
KB
May 26 1994 1:46:41
root
0644
3rmail
0.743
KB
December 21 1996 3:28:15
root
0644
advanced
13.05
KB
October 12 2019 11:30:02
root
0644
dirname
0.524
KB
May 26 1994 2:11:52
root
0644
forward
0.096
KB
March 20 1995 2:51:06
root
0644
local_procmail_lmtp.m4
1.844
KB
September 11 2001 4:54:15
root
0644
mailstat
5.722
KB
November 16 1999 6:32:54
root
0644
procmail-rpm.spec
3.286
KB
September 11 2001 4:54:15
root
0644
2017 © D7net | D704T team