Last modified: April 19 2005 14:15:48
Intro: This is for users who wish to configure their email accounts on whoopis.com (or on another domain hosted on the whoopis.com server) to flag spam for easy filtering later. This is just a "what to type" recipe, culled from Bill Stearns's excellent and comprehensive Spamassassin Intro, Setup, and Advanced Techniques document. Please at least skim that, before you implement this recipe.
See the Unix man pages for spamassassin here.
mkdir .spamassassin cd .spamassassin cp -p /usr/share/spamassassin/user_prefs.template user_prefs cat <<EOF >>user_prefs rewrite_header Subject ****SPAM**** report_header 1 use_terse_report 1 defang_mime 0 report_safe 0 use_bayes 1 auto_learn 1 ok_locales en EOF cd mkdir .procmail touch .procmail/proclog touch .procmailrc cat <<EOF >>.procmailrc SHELL=/bin/sh PATH=/bin:/usr/bin PMDIR=$HOME/.procmail LOGABSTRACT=all MAILDIR=$HOME/mail #you'd better make sure it exists LOGFILE=$PMDIR/proclog #recommended VERBOSE=off #Spamassassin start :0fw: spamassassin.lock | /usr/bin/spamc #Spamassassin end EOFHit return once after you paste all that, just to be sure.
cd cat <<EOF >>.procmailrc # Forwarding section start :0 ! user.name@domain.com # Forwarding section end EOF
See the Unix man pages for procmail here.
mkdir mail
See the Unix man pages for procmail here.
Get Euro-style oval stickers for Geeks!

NEW -- the "magic/more magic" light switch cover!
References: