Configuring a Procmail Filter (for use with UNIX mail clients)
1. Create a file called ".fetchmailrc" in your home directory
which has the line:
set filter = /usr/pubsw/bin/procmail -m $HOME/.procmailrc
2. Create a file called ".procmailrc" in your home directory.
This file should contain the lines:
VERBOSE=off
MAIL=$HOME/Mail/incoming
MAILSPOOL=$HOME/Mail/incoming
MAILDIR=$HOME/Mail
ORGMAIL=$HOME/Mail/incoming
DEFAULT=$HOME/Mail/incoming
PMDIR=$HOME/.procmail
LOGFILE=$PMDIR/log
::
^Subject:.*SPAM:
spam
This will filter all of your email that has "SPAM:" in the subject line to a folder called "spam."
Last modified Friday, 07-Dec-2007 05:10:28 PM


