procmail
[Top] [All Lists]

Re: mailing list recipes

2003-06-13 03:50:07
On Wed, Jun 04, 2003 at 12:31:58PM -0700, Bryan Koschmann - GKT wrote:

Does anyone have any tips for mailing lists? I just use the filter
features in Pine right now, which has a participant which catches all I
need. Is something like this available or will I just need to be more
specific for procmail?

In addition to the yahoogroups.com thread on May 27th, there are
additional things that can be done on the basis of other list software
signatures.  I wrote http://www.it.ca/software/procmail-listid a while
ago to catch some of them, and I continue to use it with a procmail
recipe that goes something like:

  :0:
  * ^X-list: \/.+
  $MATCH

But it's ugly and grotty, and probably should not be relied upon.

These days, I'm on an RFC2369 kick, so I've written a recipe at
http://www.it.ca/software/procmail-relist to install the correct list
identification headers wherever brain-dead list operators have failed to
do so, and I've got a little bit of other stuff in my .procmailrc:

  :0:
  * ^List-Post:.*<mailto:\/[^(_at_)]}@
  * MATCH ?? ()\/[^(_at_)]+
  $MATCH

  :0:
  * ^Sender: owner-[^(_at_)]+@
  * MATCH ?? ()\/[^(_at_)]+
  $MATCH

  :0:
  * ^List-Id: [^<]+<\/[^(_at_)]+@
  * MATCH ?? ()\/[^(_at_)]+
  $MATCH

The down side to all this is that the way I've done it is incompatible
with identically-named lists at different domains.  Also, I have no
automated mechanism to update my folders list (either for IMAP or in
.muttrc) to handle new lists -- they still have to be added by hand.

I continue to use http://www.it.ca/software/pmlw to keep an eye on
inbound list traffic.


-- 
  Paul Chvostek                                             
<paul(_at_)it(_dot_)ca>
  Operations / Abuse / Whatever
  it.canada, hosting and development                   http://www.it.ca/


_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

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