In /etc/procmailrc
[ Stuff ]
:0
* ! ? test -f $HOME/.procmailrc
{
:0 fw
| /usr/local/bin/spamc
DROPPRIVS=YES
:0:
* ^X-Spam-Status:(.*\<)?Yes
Mail/SPAM
:0:
$DEFAULT
}
[ more stuff ]
as I understand this, mail that is marked spam will be placed in
$HOME/Mail/SPAM and everything else will be delivered to $DEFAULT. If
the user has a .procmailrc defined, then "[ more stuff ]" will be
executed WITHOUT the privileges dropped.
--
Otto: Apes don't read philosophy.
Wanda: Yes, they do Otto, they just don't understand it.
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail