procmail
[Top] [All Lists]

Re: More compact mailing list filter?

1997-09-15 09:32:31
Steven Whatley writes:
Hi all,

I was wonder if there was a mroe compact recipe for filtering mailing
lists.  Currently I have:

:0:
* ^TOprocmail
IN.procmail

for one each for the mailing lists I'm on.  I filter 99% of my email like
this prior to spam checking.  I was allowing some of the very low traffic
maillings to remain in my INBOX.  Now that I'm trying out Dan's
spamcheck.rc (Very nice, BTW), It is also catching these mailings. 

 I use

# Some external lists
:0:
* ^TO_\/(aminet-weekly|mutt-users|procmail)
IN."`/bin/echo ${MATCH} | /bin/tr A-Z a-z`"

 The tr command is there to make sure that everything is in lowercase.
 Otherwise, I might get more than one IN.* box for the same list when
 ppl send mail to procmail(_at_)(_dot_)(_dot_)(_dot_), 
Procmail(_at_)(_dot_)(_dot_)(_dot_), ProcMail(_at_)(_dot_)(_dot_)(_dot_) etc.