4 messages in net.sourceforge.lists.courier-maildropRe: [maildropl] Question, and a test
FromSent OnAttachments
Jonathan NicholsDec 12, 2005 11:34 am 
Thorsten HaudeDec 12, 2005 12:22 pm 
Jonathan NicholsDec 14, 2005 10:58 pm 
Todd LyonsDec 15, 2005 1:42 pm 
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:Re: [maildropl] Question, and a testActions...
From:Thorsten Haude (list@thorstenhau.de)
Date:Dec 12, 2005 12:22:38 pm
List:net.sourceforge.lists.courier-maildrop

Hi,

* Jonathan Nichols wrote (2005-12-12 20:33):

If the filter I have below works, this will wind up in the right place.

#courier-maildrop list #if (/^(To|Cc):.*!cour@lists.sourceforge.net/) if (/^List-Id: .+ <courier-maildrop.lists.sourceforge.net>/) { to "$HOME/.maildir/".Mailing Lists".Courier-Maildrop" }

Does the List-Id field look ok? I'm not really sure what the .+ is supposed to do. I just grabbed it from another filter I had, but I don't know the meaning of it.

^List-Id: .+ <courier... +-------------------- start of string ++++++++------------ literal text +----------- blank ++--------- any character, once or more +-------- blank ++++++++ literal text

Is it to catch other text? Like this one:

List-Id: Gentoo Linux mail <gentoo-server.gentoo.org>

Nope, there is no match for the last two parts I listed.

Would (/^List-Id: .+ <gentoo-server.gentoo.org>/) catch the ID in the <

field as well as the text between the "List-Id:" field and the address?

Sure. (If I don't misunderstand your question.)

The two look almost identical, but only one works.

Please quote one List-Id header form each list.

Thorsten