On Thu, Sep 25, 2008 at 05:44:00AM +0200, s. keeling wrote: > Ron Johnson <[EMAIL PROTECTED]>: > > > > If you aren't wedded to procmail for some other reason, then maybe > > maildrop would be more to your liking, since it has a much simpler > > syntax. Here's my maildrop rule for filtering d-u mails: > > > > if ( /^X-Mailing-List:.*<[email protected]>*/ ) > > { > > to "Maildir/.Lists.Debian.User.2008q3" > > } > > For completeness, that's not much less complex (aka line noise) than > my procmail rule, and mine splits each debian list into its own mbox, > and handles newsfroup backscatter: > > # ------------------------------------ > # debian-${MATCH} > # > # The MATCH operator \/ matches whatever the regexp that follows > # it matches. > # > :0 > * 1^0 ^X\-Mailing\-List:.*debian-\/[a-z.-]* > * 1^0 ^Newsgroups:.*debian.\/[a-z.-]* > * 1^0 ^Cc: [EMAIL PROTECTED] > { > LOG="debian-${MATCH} - " > :0: > 00.debian > }
bit lost here.
I understand you pull out the debian mailing list with \/[a-z.-]*
then you log to mailingl ist specific log files with
LOG="debian-${MATCH} - ". but doesn't this deposit all mails in
00.debian , shouldn't it be 00.debian-${MATCH} ?
>
> I've been recommending noobs try maildrop first for years. Procmail
> may be a howitzer where a shiv is needed. :-)
>
>
> --
> Any technology distinguishable from magic is insufficiently advanced.
> (*) http://blinkynet.net/comp/uip5.html Linux Counter #80292
> - - http://www.faqs.org/rfcs/rfc1855.html Please, don't Cc: me.
>
>
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
>
>
--
BOFH excuse #110:
The rolling stones concert down the road caused a brown out
signature.asc
Description: Digital signature

