From: Lars Hecking (lhecking at domain nmrc.ucc.ie)
Date: Tue 28 Sep 1999 - 18:08:54 IST
John McDonnell writes:
> evening folks.
> I've been filtering ILUG mail using
> * ^TOilug at domain linux.ie
If you have a newer version of procmail (>3,10, I think), use
TO_ instead of TO.
> but some people (not looking at Ken Guest at all....) insist on sending
> stuff to ilug at domain csn.ul.ie or even ilug at domain skynet.csn.ul.ie so I reckon it's
> time to change my filtering method. It's been pointed out that the
> X-BeenThere header is the one to use but can anyone give me a procmail
> rule to do so?
* ^X-BeenThere:[ ]*ilug at domain linux\.ie
The brackets enclose a space and a tab (can be replaced by a single
space if the list server software is reliable), and escaping the
dot is necessary to avoid false positives, however unlikely.
This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:04:37 GMT