develooper Front page | perl.dbi.users | Postings from February 2001

Re: Magical Headers and Unsubscribing

Thread Previous | Thread Next
From:
Tony Foiani
Date:
February 23, 2001 09:57
Subject:
Re: Magical Headers and Unsubscribing
Message ID:
jwmbsrt9t9e.fsf@juggler.fc.hp.com
>>>>> "David" == Furber, David <DJFurber@roomuw.co.uk> writes:

David> (If anyone has a reliable rule I'd love to see it).

I'm not sure how comprehensive the Outlook rule capabilities are, but
here are my procmail rules for dbi-users:

| :0:$IC_LOCK_PREFIX/dbi.users.spool
| * ^X-List-ID: <dbi-users\.isc\.org>
| dbi.users.spool
| 
| :0:$IC_LOCK_PREFIX/dbi.users.spool
| * ^Mailing-List: contact dbi-users-help@perl\.org
| dbi.users.spool

Basically, I would look for one of those two headers ("X-List-ID" or
"Mailing-List") and file accordingly.  The backwhacking is to escape
the periods, since those are true regular expressions (only
egrep-level, alas).

t.

	


Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About