procmail filter for mailinglist

Derek Broughton derek at pointerstop.ca
Tue Jul 14 18:09:22 UTC 2009


Siggy Brentrup wrote:

> On Tue, Jul 14, 2009 at 09:32 -0300, Derek Broughton wrote:
>> Siggy Brentrup wrote:
>> 
>> > On Tue, Jul 14, 2009 at 01:42 -0400, Jay Daniels wrote:
>> >> I need an automatic procmail filter for list.  This does not seem to
>> >> work - for this list anyway.  What am I missing?
>> >> 
>> >> :0
>> >> * ^X-BeenThere_.*ubuntu-users@
>> >                 ^
>> >                 | sorry, I don't recall '_' being a metacharacter
>> > 
>> > Btw, I'm using Sender: for mailman lists too.
>> 
>> Wouldn't it make more sense to use one of the "List-" headers, too?
> 
> Compare List-* headers on different MLs, they differ considerably.
> Knowing for sure that mm puts a
>   Sender: LISTNAME-bounces at LISTDOMAIN
> on every message it sends, there's no need to inspect other headers.

Well, I did actually mean more sense than using X-BeenThere (just on the 
grounds that it's a non-standard header), but a quick look at all the 
Mailman lists I get shows the List-Post header is identical to X-BeenThere 
except that it's wrapped with <mailto:>.  I'll take your word for it that 
they vary more than that.
-- 
derek






More information about the ubuntu-users mailing list