[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Procmail Rules for Debian lists



Jeff <jcoppock1@attbi.com> writes:

> Dave Sherohman, 2002-Apr-08 16:14 -0500:
> > On Mon, Apr 08, 2002 at 06:35:58PM +0100, Paul Sargent wrote:
> > > I'm getting quite a lot of messages dropping through my procmail rules for
> > > debian lists. I was wondering if anyone here had a good setup.
> > > 
> > > The problem seems to be that not all mails from this list get tagged with
> > > X-Mailing-List which is what I'm checking on.
> > > 
> > > This is my current rule:
> > > 
> > > :0:
> > > * ^X-Mailing-List: <debian-.+@lists.debian.org>
> > > * ^X-Mailing-List: <debian-\/[^@]+
> > > $DEBIAN/$MATCH
> > 
> > I use exim's filtering capability instead of procmail (and I dump all
> > my debian lists into a single mailbox), but
> > 
> > if $h_X-Mailing-List: contains "ebian-" then
> >   save $home/Mail/deb
> > endif
> > 
> > seems to work pretty well for me.  I'll have one message slip by
> > every couple months or so, but not enough to be a bother.  Maybe you
> > just need to modify the regexes you're matching against
> > X-Mailing-List to be a little less demanding, although I would expect
> > that header to be set identically on every message...
> 
> Just to add to the list of choices, I use Maildrop...
> [..]
> 

To add up to the options, with gnus:

(any "debian-\\b\\(\\w+\\)@lists.debian.org" "debian-\\1")

Generates a different group for each debian list that I get mail from.

Regards,

Jorge Santos


-- 
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: