At 09:06 2009-02-10 -0600, Christopher L. Barnard wrote:
Checking my mail the next morning it is still not being filtered
correctly. The rule:
### Send v6 netbackup summaries to a separate folder.
###
VERBOSE=on
:0:
* ^From:(_dot_)root(_at_)rudun-nbmaster002(_dot_)cc1(_dot_)rush(_dot_)edu
* ^Subject:.L700 NetBackup
/opt/home/cbarnard/backups
VERBOSE=on
Once set ON, it's ON until it is set OFF - it isn't a per-rule setting
(though there have been times where I thought it'd be useful to have a
flag...).
:0:
* ^From:(_dot_)root(_at_)rudun-nbmaster001(_dot_)cc1(_dot_)rush(_dot_)edu
* ^Subject:.L700 NetBackup
/opt/home/cbarnard/backups
###
### :0:
###* ^From:(_dot_)root(_at_)rudun-nbmaster00(1|2)\.cc1\.rush\.edu
###* ^Subject:.L700 NetBackup
###/opt/home/cbarnard/backups
(I will replace those two with the commented out one once the dust
settles. Thanks for the code snippet, Dallman.)
The logfile:
>From root(_at_)rudun-nbmaster002(_dot_)cc1(_dot_)rush(_dot_)edu Tue Feb 10
08:00:08 2009
I trust THIS isn't what you're trying to match with:
* ^From:(_dot_)root(_at_)rudun-nbmaster001(_dot_)cc1(_dot_)rush(_dot_)edu
Because the condition you have is looking to match a From: header, not the
Envelope -- the line you see above in the log doesn't have a colon in it.
procmail: No match on
"^From:(_dot_)root(_at_)rudun-nbmaster002(_dot_)cc1(_dot_)rush(_dot_)edu"
procmail: Assigning "VERBOSE=on"
procmail: No match on
"^From:(_dot_)root(_at_)rudun-nbmaster001(_dot_)cc1(_dot_)rush(_dot_)edu"
So, perhaps you need to show the From: header field of an actual message
for us to evaluate?
You should follow the link in my .sig and check out the "sandbox" system I
have. You do NOT need to wait until tomorrow to test your recipe - just
take the saved email and pass it into a test rig for procmail.
---
Sean B. Straw / Professional Software Engineering
Procmail disclaimer: <http://www.professional.org/procmail/disclaimer.html>
Please DO NOT carbon me on list replies. I'll get my copy from the list.
____________________________________________________________
procmail mailing list Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail