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

Re: Procmail Rules for Debian lists

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-\/[^@]+

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

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...

When we reduce our own liberties to stop terrorism, the terrorists
have already won. - reverius

Innocence is no protection when governments go bad. - Tom Swiss

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

Reply to: