# # Zoidial, Inc. # Eric Thern # May 8, 2002 # # # setting up procmail filters on a per-user account basis # # # set up the proper permissions like this: # touch ~/.procmailrc chmod 644 ~/.procmailrc chmod g-w ~ # # edit your .procmailrc file # -------begin .procmailrc----------- SHELL=/bin/csh # # this will send all mail from/to horriblespammer.com directly to /dev/null # BE CAREFUL!! ;) # :0 * ^(To|From|Received|Reply-To|Sender):.*\ /dev/null # # VIRUS RULES # # set VIRUSBOX variable to some directory to store these in -- just in case. # VIRUSBOX ~/bademail # # klez virus # :0 B * ^Content-Transfer-Encoding: base64 * name=.*\.(exe|bat|scr|pif) $VIRUSBOX # # goner virus # :0 B * ^Content-Transfer-Encoding: base64 * name=.*gone\.scr $VIRUSBOX # # badtrans # :0 B * ^Content-Transfer-Encoding: base64 * name=.*\.(doc|mp3|txt|zip)\.(pif|scr) $VIRUSBOX # # sircam # :0 B * (Hi.*How.are.you|Hola.como.estas) * (See.you.later.*Thanks|Nos.vemos.pronto.*gracias) * ^Content-Transfer-Encoding: base64 $VIRUSBOX -------end .procmailrc-------------