On Fri, 22 Nov 1996, Peter Gjefle wrote:
good morning everybody
trying to optimize how to filter out mail from a listserv, i have some
questions unsolved. i am using the procmail listserv as an example.
reading the man pages gave me the same impression. to my surprise i
keep getting list mail into my mailbox. mail with
procmail(_at_)inf(_dot_)(_dot_) in
the cc field was not caught by my filter. could i please ask you to
take a look at my procmailrc to weed out my mistake:
:0
* ^To:.*procmail@
listserv.procmail
One (actually 2) little things to fix this problem. ^TO is what
you want not ^To, the capitilization is important. The uncaped matched
the To: line in the header, the capped version is the marco that expands
to that ungodly regex that should catch all To,Bcc,cc,etc.
As to the trailing ':', you really should use it in this case, the
form ':0:' creadtes a lockfile for the mail folder that it will save it
in.
================================================================ /| |\
James V. Di Toro III | "I've got a bad feeling / |_| \/\
System Administrator, GATS, Inc.| about This" -various |()\ / ||
W: 757/865-7491 F:757/865-1021 |------------------------------ |---0---_|
karrde(_at_)gats(_dot_)hampton(_dot_)va(_dot_)us |
www.gats.hampton.va.us \ / \ /
webmaster(_at_)gats(_dot_)hampton(_dot_)va(_dot_)us |
^:::^