Click to See Complete Forum and Search --> : procmail: mail piped to $HOME/mail


djdman2000
01-02-2005, 11:52 PM
I am trying to get mail stored in a $HOME/mail for each respective user... Below is the .procmailrc that I am using. Any and all ideas are welcome.

Thanks,

djdman2000

PMDIR=$HOME/.procmail
MAILDIR=$HOME/mail
DEFAULT=$MAILDIR
LOGFILE=$PMDIR/procmail.log

:0fw: spamassassin.lock
* < 256000
| spamassassin

# Mails with a score of 15 or higher are almost certainly spam (with 0.05%
# false positives according to rules/STATISTICS.txt). Let's put them in a
# different mbox. (This one is optional.)
:0:
* ^X-Spam-Level: \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*
spam

# All mail tagged as spam (eg. with a score higher than the set threshold)
# is moved to "probably-spam".
:0:
* ^X-Spam-Status: Yes
probably-spam

:0
* ^^rom[]
{
LOG="*** Dropped F off From_ header! Fixing up. "

:0 fhw
| sed -e '1s/^/F/'
}