the procmail example in linux-sxs
M.W.Chang
mwchang
Mon May 17 11:29:15 PDT 2004
I've got my procmail sort of working.
1. if I want all users to use one prcomailrc, does it mean that I only
need to put a procmail file in /etc? Right now, I have a .forward and
.procmailrc in /home/user.
2. is it silly using procmail to catch spam by actually reading and
hence understanding the message body?
3. So I only need to download the filter from the supplied URL and it
would be working without additional changes needed?
-- begin quote
# these two are for the junkmail program (http://junkfilter.zer0.org)
PMDIR=$HOME/.procmail
JFDIR=$HOME/.procmail
# where does possible spam go for our later review
JUNKMAIL=/var/mail/nobody
# the null device for things we know are spam
NULL=/dev/null
# where should procmail
# ---- Call junkfilter ----
# this is how to use multiple procmail rule files
INCLUDERC=$JFDIR/junkfilter
-- end quote
More information about the Linux-users
mailing list