Procmail spam filter
From CTSWiki
[edit]
Procmail spam filter
- login into one of the unix boxes (siesta,bash,curb,bang.arl) (windows puts in ^M which causes problems).
- create the file .procmailrc ( vi .procmailrc or cat - > .procmailrc ).
JDATE=`date '%+j'` # julian date :0 # start a recipe ^X-(WU|)Spam-Flag: YES # Is this in the header? can also test with egrep -i 'expresion' file spam$JDAY # if you want to save it, or just /dev/null it
# optional prefered forward after filtering for spam to /dev/null :0 !newuser@newemail.com
Allen
