# .procmailrc - file, experimental, written by Dominic J. Eidson # Copyright 1998 Dominic J. Eidson # # Most e-mail will end up one of these places: # $HOME/mail/spam-mail -- Spam, ads, stuff like that # $HOME/mail/commands -- People who send to sauron+cmd@whatever... # $DEFAULT -- Everything else... # Much Debugging? # VERBOSE = yes # Include some stuff INCLUDERC = $HOME/.rcfiles/rc.vars # Additionally log the To: - address #TO=`formail -X To:` #LOG="$TO #" # Deal with bounces, news auto-replies, etc before the dupe checks INCLUDERC = $RCFILES/rc.daemon # Anti-dupe stuff... INCLUDERC = $RCFILES/rc.dupes # Kill file like stuff INCLUDERC = $RCFILES/rc.kill # Sub-boxing stuff... This must come before the self-check for it to work INCLUDERC = $RCFILES/rc.subbox-cmd # Check for mail from myself, if found, put in ~/mail/self-junk :0: * ^From.*sauron*@(hub|cyberwizards|morannon|the-infinite) * ! ^Subject: Crash $MAILDIR/self-junk # Don't want my own mail in the inbox # And even more filtering INCLUDERC = $RCFILES/rc.filter # Anti-email-spam stuff INCLUDERC = $RCFILES/rc.spam :0: $DEFAULT