I thought this was working... A recipe from my .procmailrc file.
# trash anything coming from smut sites
:0
* ^From.*(sex | Sex | SEX | XXX | xxx).*
* *TO.*(sex | Sex | SEX).*
/dev/null
This is what my log file had to say about the message-
procmail: No match on "^From.*(sex | Sex | SEX | XXX | xxx).*"
procmail: Locking "/usr/spool/mail/woodard.lock"
procmail: Assigning "LASTFOLDER=/usr/spool/mail/woodard"
procmail: Opening "/usr/spool/mail/woodard"
procmail: Acquiring kernel-lock
procmail: [11569] Wed Mar 4 10:33:12 1998
procmail: Unlocking "/usr/spool/mail/woodard.lock"
From freestuff(_at_)dailysex(_dot_)net Wed Mar 4 10:33:09 1998
Subject: Adult Sites Password Newsletter
Folder: /usr/spool/mail/woodard 6021
procmail: Notified comsat: "woodard(_at_)0:/usr/spool/mail/woodard"
Could some kind soul explain what I need to do differently to catch the
following From line that I just received.
From: freestuff(_at_)dailysex(_dot_)net
Thanks.
--
Steve Woodard (716)-588-2069
Pager (716)-975-3984
Optical Storage Products 1/800/KP
Internet: woodard(_at_)kodak(_dot_)com