procmail
[Top] [All Lists]

Re: Mailing List filters

1995-10-30 10:01:25
Well, I've found that the most reliable filtering scheme is (for
well-configured mailing lists that use owner-foo, foo-owner, or
foo-request in the SMTP envelope) is to filter on the "From "
pseudo-header, which contains the envelope information.

A snippet of my .procmailrc follows.

:0:
* ^From xemacs-beta-(discuss-)?request@
xemacs-beta

:0:
* ^From .*owner-bugtraq@
bugtraq

:0:
* ^From owner-best-of-security@
bos

:0:
* ^From owner-wn-maint@
wn-maint

# these two are BITNET lists and sometimes come with route-addrs
:0:
* ^From .*owner-aircraft@
aircraft

:0:
* ^From (_dot_)*owner-airline[%(_at_)]
airline

:0:
* ^From continuing-time-errors@
dkm

:0:
* ^From linkers-owner@
linkers

:0:
* ^From cambridge_town_crier-approval@
ctc

:0:
* ^From ircd-request(_at_)rtd(_dot_)com
ircd

# this one puts the listowner's address in, rather than an alias
# so check for the recipient too
:0:
* ^From marnellm(_at_)portia(_dot_)portia(_dot_)com
* ^TOnewdom
newdom

# fallthru to 'inbox'

<Prev in Thread] Current Thread [Next in Thread>