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
: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
Subject: L700 NetBackup backup status
Folder: /var/mail/cbarnard 37152
procmail: Assigning"INCLUDERC=/opt/home/cbarnard/.procmail/rc.maillists"
procmail: Extraneous locallockfile ignored
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"
procmail: No match on "^Subject:.[Rr]e:"
procmail: Executing " formail -xFrom: | /usr/bin/fgrep -i
-f /opt/home/cbarnard/
.procmail/greenlist.dat"
procmail: Match on " formail -xFrom: | /usr/bin/fgrep -i
-f /opt/home/cbarnard/.
procmail/greenlist.dat"
procmail: Assigning "KEEPER=yes"
So it looks like it is not matching on the hostname. Why would it not?
--
Christopher Barnard
--------------------------------------------------------------------------
comment your code as if the maintainer will be a homicidal maniac who
knows where you live.
____________________________________________________________
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