Rejo dixit:
> ++ 15.03.1999, 13:23:56 (+0100) = Holger Eitzenberger:
> >Majordomo does _not generate_ it and i haven't found another
> >criteria to detect mutt-user mails.
> 
> I have now (in procmail):
> 
> :0:
> * ^TO([EMAIL PROTECTED]|[EMAIL PROTECTED]|[EMAIL PROTECTED])
> mutt-users
> 
> Which probably could be rewritten to
> 
> :0:
> * ^TO(.*mutt-users)
> mutt-users

This is what I have for the mutt-users list.  They are some of the domains
messages have arrived from ... quite a few for just one list.

:0
*^(From|To|Cc):.*mutt-users@(mutt.org|gbnet.net|sobolev.rhein.de|cs.hmc.edu)
mutt

Of course `(From|To|Cc):' could be rewritten as a macro `TO', and then the
rest simplified by writing the only common part in all of them,
`mutt-users@'. So:

:0
*^TO.*mutt-users@*
mutt

(just wonder if the dot makes a difference to where you put it).

Horacio.

Reply via email to