5 messages in net.sourceforge.lists.courier-maildrop[maildropl] Handling multi-line headers?
FromSent OnAttachments
Casey Allen ShobeJun 16, 2005 3:33 pm 
Sam VarshavchikJun 16, 2005 3:39 pm 
Casey Allen ShobeJun 17, 2005 1:07 am 
Tony EarnshawJun 17, 2005 2:41 am 
Casey Allen ShobeJun 18, 2005 1:38 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:[maildropl] Handling multi-line headers?Actions...
From:Casey Allen Shobe (lis@seattleserver.com)
Date:Jun 16, 2005 3:33:47 pm
List:net.sourceforge.lists.courier-maildrop

I use maildrop to filter a lot of mailing lists, and it works just fantastic.

However, a couple brain-damaged lists out there put a book in the List-Id header, like these:

List-Id: "Mailinglist of the Linux Advanced Routing &amp; Traffic Control project" <lartc.mailman.ds9a.nl>

List-Id: Discussion of NFS under Linux development, interoperability, and testing. <nfs.lists.sourceforge.net>

I have the following two rules in my maildropfilter:

if (/^List-Id: "Mailinglist of the Linux Advanced Routing &amp; Traffic Control project" <lartc.mailman.ds9a.nl>$/) { to "$DEST/.LARTC/" } if (/^List-Id: Discussion of NFS under Linux development, interoperability, and testing. <nfs.lists.sourceforge.net>$/) { to "$DEST/.NFS/" }

The first one filters mail fine, but the second one doesn't catch anything. What's the story here? I don't want to use wildcards.

Cheers,