> :0
> * ^From:[EMAIL PROTECTED]
> CLUG
> 
> Does the above seem like the correct syntax?

Syntax correct, regular expression useless on two counts...
You forgot the * after the om:.
You can not use From: to identify mailing lists.

This works, but I'm using it only for historic reasons:

:0
* ^Comments: University of Canterbury Linux Users
* 1^0 ^TOlinux-users@(|(it|its|cantva|csc).)canterbury.ac.nz
* 1^0 ^List-Subscribe: *<mailto:[EMAIL PROTECTED]>
* -0^0 .
CLUG

Exactly how you identify lists depends on how much you value not
matching the wrong mails, and how robust you want to be against list
changes. The above Comments: has been by far the most stable header, the
rest changes whenever the IT Dept changes its name (approx every 2
years).

Perhaps a compromise is this:

:0
* 1^0 ^Comments: University of Canterbury Linux Users
* 1^0 ^List-Subscribe:.*@([a-z]+.|)canterbury.ac.nz.*linux-users
CLUG

Volker

-- 
Volker Kuhlmann                 is list0570 with the domain in header
http://volker.dnsalias.net/     Please do not CC list postings to me.

Reply via email to