12 messages in net.sourceforge.lists.courier-maildropRe: [maildropl] Handling mailing lists
FromSent OnAttachments
D.J. BoldermanJun 6, 2002 6:33 am 
Eduardo GargiuloJun 6, 2002 6:57 am 
D.J. BoldermanJun 6, 2002 7:15 am 
Derrick 'dman' HudsonJun 6, 2002 7:28 am 
D.J. BoldermanJun 6, 2002 7:49 am 
D.J. BoldermanJun 6, 2002 8:07 am 
Luc BrouardJun 6, 2002 8:14 am 
D.J. BoldermanJun 6, 2002 8:19 am 
D.J. BoldermanJun 6, 2002 8:23 am 
Luc Brouard (mailing lists)Jun 6, 2002 8:27 am 
Derrick 'dman' HudsonJun 6, 2002 9:09 am 
Derrick 'dman' HudsonJun 6, 2002 9:10 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:Re: [maildropl] Handling mailing listsActions...
From:Derrick 'dman' Hudson (dm@dman.ddts.net)
Date:Jun 6, 2002 7:28:40 am
List:net.sourceforge.lists.courier-maildrop

On Thu, Jun 06, 2002 at 03:33:59PM +0200, D.J. Bolderman wrote: | Hi ppl, | | I'm trying to store messages from certain mailing lists automatically in a | folder. I'm using this rule: | if (/^X-Mailing-List: debi@lists.debian.org/) | { | to Maildir/.DebianMailingList | } | | For some reason, this rule is not applied and mail is being stored in my | inbox... | Anyone got a good solution for taking care of mailing lists ?

This seems to be working :

# (near the top of the file, so the regex is only run once)

/^X-Mailing-List:[:space:]*!.*/:h X-Mailing-List:=$MATCH2

# (later on where I check for debian lists)

if ( "${X-Mailing-List:}" =~ /debian-[a-z6]*!@lists\.debian\.org>/ ) { #log " => lists/$MATCH" F=$BASE/lists/$MATCH/ `$HOME/bin/create_maildir.sh "$F"` to "$F" }

HTH, -D

--

The truly righteous man attains life, but he who pursues evil goes to his death. Proverbs 11:19

GnuPG key : http://dman.ddts.net/~dman/public_key.gpg