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:
> * ^X-Mailing-List: <firstname.lastname@example.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
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 email@example.com
with a subject of "unsubscribe". Trouble? Contact firstname.lastname@example.org