Hello,
I just got my box setup with postfix, procmail, and spamassasin. And it
all works except when a mail is detected to be spam, it is moved to the
correct .Spam directory, but it is has root.mail permissions instead of
the users permissions like what happens when the mail isn't spam. Anyone
know what can be wrong?
Thanks,
PS. I got the below recipe from spamassassin site, is the last part still
needed?
# /etc/procmailrc
DEFAULT=$HOME/.maildir/
LOGFILE=/var/log/procmail.log
:0wf: $HOME/spamassassin.lock
* < 256000
| /usr/bin/spamc -f
:0:
* ^X-Spam-Status: Yes
$HOME/.maildir/.Spam/
# Work around procmail bug: any output on stderr will cause the "F" in "From"
# to be dropped. This will re-add it.
:0
* ^^rom[ ]
{
LOG="*** Dropped F off From_ header! Fixing up. "
:0 fhw
| sed -e '1s/^/F/'
}
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail