CosmicPerl.com Support schreef:
Procmailrc:- (I've got rid of comment lines)
Put something like this at the top:
LOGFILE = /var/log/procmail.log
# :0
# * LOGNAME ?? ^^root^^
# {
LOG = "
Before:
DEFAULT=$DEFAULT=
HOME=$HOME=
HOST=$HOST=
LINEBUF=$LINEBUF=
LOGNAME=$LOGNAME=
MAIL=$MAIL=
MAILDIR=$MAILDIR=
ORGMAIL=$ORGMAIL=
PROCMAIL_VERSION=$PROCMAIL_VERSION=
SHELL=$SHELL=
UMASK=$UMASK=
"
# }
Remove the #s for root-only execution of that recipe.
DROPPRIVS = yes
Move that to after the spam delivery, as Sean already suggested.
Missing:
SHELL = /bin/sh
NL = '
' # a newline
MAILDIR = /var/spool/mail
VERBOSE = yes
LOGABSTRACT = all
LOGFILE = /var/log/procmail.log
Can all users write to that file? (That question becomes irrelevant if
DROPPRIVS is postponed.)
:0:
* ^X-Spam-Status: Yes
/dev/null
/dev/null does not need a lock.
:0
* ^^rom[ ]
{
LOG = "*** Dropped F off From_ header! Fixing up. "
:0 fhw
| sed -e '1s/^/F/'
}
Did you really see that happening?
(Please don't quote text that is no longer relevant, including
signatures and mailing list tails.)
--
Groet, Ruud
____________________________________________________________
procmail mailing list Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail