D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
proc
/
thread-self
/
root
/
usr
/
share
/
doc
/
procmail
/
examples
/
Filename :
2procmailrc
back
Copy
# Please check if all the paths in PATH are reachable, remove the ones that # are not. PATH=$HOME/bin:/usr/bin:/usr/ucb:/bin:/usr/local/bin:. MAILDIR=$HOME/Mail # You'd better make sure it exists DEFAULT=$MAILDIR/mbox # We don't use a global lockfile here now. # Instead we use local lockfiles everywhere. # This allows mail to arrive in all mailboxes # concurrently, or allows you to read one mailbox # while mail arrives in another. # The next recipe will split up Digests into their individual messages. # Don't do this if you use a global lockfile before this recipe (deadlock) :0 * ^Subject:.*Digest |formail +1 -d -s procmail LOGFILE=$MAILDIR/from # Put it here, in order to avoid logging # the arrival of the digest. # An alternative and probably more efficient solution to splitting up a digest # would be (only works for standard format mailbox files though): :0: * ^Subject:.*Other Digest |formail +1 -ds cat >>this_lists_mailbox # Notice the double : in the next recipe, this will cause a lockfile # named "$MAILDIR/todd.lock" to be used if and only if this mail is going # into the file "todd". :0: # Anything from thf * ^From.*thf@somewhere.someplace todd # will go to $MAILDIR/todd # The next recipe will likewise use $MAILDIR/uunetbox.lock as a lock file. :0: # Anything from people at uunet * ^From.*@uunet uunetbox # will go to $MAILDIR/uunetbox # And here the lockfile will be $MAILDIR/henries.lock of course. :0: # Anything from Henry * ^From.*henry henries # will go to $MAILDIR/henries # But you can specify any lockfile you want, like "myfile". The following # recipe will use "$MAILDIR/myfile" as the lock file. :0:myfile # All 'questions' will go to * ^Subject:.*questions toread # $MAILDIR/toread # Anything that has not been delivered by now will go to $DEFAULT # After procmail sees the end of the rcfile, it pretends that it sees a # LOCKFILE=$DEFAULT$LOCKEXT # Therefore $DEFAULT is always locked.
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