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

From the procmailrc(5) man page:
       If  the regular expression contains `^TO_' it will be sub­
       stituted by `(^((Original-)?(Resent-)?(To|Cc|Bcc)|(X-
       Envelope|Apparently(-Resent)?)-To):(.*[^-a-zA-Z0-9_.])?)',
       which should catch all destination specifications
       containing a specific address.

So, my .procmailrc consists of a bunch of rules that look like this:
:0:
* ^TO_*debian-user@lists.debian.org
./mail/incoming/debian-user

I subscribe to a whole ton of lists (7 debian lists, freeswan-users,
bugtraq, a couple netbsd lists...) and rules of the above form never
seem to fail.

noah

-- 
 _______________________________________________________
| Web: http://web.morgul.net/~frodo/
| PGP Public Key: http://web.morgul.net/~frodo/mail.html 

Attachment: pgp2Ua_Y6MFQC.pgp
Description: PGP signature


Reply to: