4 messages in net.sourceforge.lists.courier-maildrop[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:[maildropl] Question, and a testActions...
From:Jonathan Nichols (jnic@pbp.net)
Date:Dec 12, 2005 11:34:45 am
List:net.sourceforge.lists.courier-maildrop

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.

This concludes the test. Now, for my other question..

Is it to catch other text? Like this one:

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

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?

Hrm, I just noticed that maybe it's not working..

#Mail from the gentoo-server list if ( /^List-Id: .+ <gentoo-server.gentoo.org>/ ) { to "$HOME/.maildir/".Mailing Lists".Gentoo-Server" }

is what I have, but this was just logged:

Date: Mon Dec 12 11:23:39 2005 From: Lance Albertson <rame@gentoo.org> Subj: Re: [gentoo-server] nagios-plugin hangs while configuring File: /home/vmail/pbp.net/jnichols/.maildir/ (4137)

So, it didn't put it into the right folder.

The folder structure is like this:

drwx------ 6 vmail vmail 256 Dec 12 11:24 .MailingLists.Gentoo-Server/ drwxrwx--- 6 vmail vmail 256 Dec 12 10:24 .MailingLists.Gentoo-User/

The gentoo-server filter did *not* work, but by gentoo-use one *does* and that's what really confuses me.

#Mail from the gentoo-users list if ( /^List-Id: .+ <gentoo-user.gentoo.org>/ ) { to "$HOME/.maildir/".Mailing Lists".Gentoo-User" }

The two look almost identical, but only one works.

Argh!