Mailing list procmail recipe

Jens Petersen petersen at redhat.com
Mon Apr 5 23:53:52 UTC 2004


>>>>> "RH" == Ronny Haryanto <ronnylist at haryan.to> writes:

    RH> I am using the X-BeenThere header for Mailman-based
    RH> lists and Delivered-To header for ezmlm-based lists
    RH> to filter mailing list emails.

    RH> :0:
    RH> * ^X-BeenThere: fedora-list at redhat\.com
    RH> fedoralist

X-BeenThere mostly works well, however it can happen that
there are multiple X-BeenThere headers from different lists
present.  So I filter on the Sender field with

  :0:
  * ^Sender: \/[a-z0-9-]+-(admin@|bounces[+@])
  `echo $MATCH | sed "s/-admin at .*// ; s/-bounces[+@].*//"`

which seems to be even more reliable

-Jens





More information about the fedora-list mailing list