I am trying to filter out the numerous (and annoying) "I'm going on
vacation, please contact..." type emails which pervade my office with
the following recipie:
:0:vaca.lock
* ^Subject: (OOt?O)|(00t?0)|(out of (the )?(office|town))|(on (planned
)?(vacation|leave))
* ! ^TO .*mcampbell@(s1|s-1).com
* ! ^Subject: *(Re|\[Re\]):?
* ! ^X-Loop: ug(_at_)unixgeek(_dot_)com
vacation.spool
But it's catching things it shouldn't. Here's the log entry on one such
"offense". (With "verbose" logging on.)
procmail: [951] Thu Dec 3 13:05:26 1998
procmail: Match on "^Subject: (OOt?O)|(00t?0)|(out of (the )?(office|town))|(on
(planned )?(vacation|leave))"
procmail: Match on !
"(^((Original-)?(Resent-)?(To|Cc|Bcc)|(X-Envelope|Apparently(-Resent)?)-To):(.*[^a-zA-Z])?)
.*mcampbell@(s1|s-1).com"
procmail: Match on ! "^Subject: *(Re|\[Re\]):?"
procmail: Match on ! "^X-Loop: ug(_at_)unixgeek(_dot_)com"
procmail: Locking "vaca.lock"
procmail: Assigning "LASTFOLDER=vacation.spool"
procmail: Opening "vacation.spool"
procmail: Acquiring kernel-lock
procmail: Unlocking "vaca.lock"
From owner-forte-users(_at_)SageIT(_dot_)com Thu Dec 3 13:05:24 1998
Subject: Word 97
Folder: vacation.spool 2423
Can anyone see why this particular recipie should be catching this mail?
I've grepped my .procmailrc, and there are no other occurances of
"vacation.spool", so I'm pretty sure it's coming from this one.