procmail
[Top] [All Lists]

recipe help: to me OR to ONE list (should be simple)

1996-10-12 15:06:49

:0c
* !^FROM_DAEMON
* !^X-Mailing-List:
* ^TO*luomat
{
        :0
        |(program)
}


I have been using this with great success, for running a program  
when I get mail addressed directly to

luomat(_at_)nerc(_dot_)com
luomat(_at_)nerc1(_dot_)nerc(_dot_)com
luomat(_at_)nerc3(_dot_)nerc(_dot_)com
luomat(_at_)peak(_dot_)org
luomat(_at_)kira(_dot_)peak(_dot_)org

However, I have not been able to succeed in addition the simple OR  
condition for one particular list I am on 'next-ftp' (actually it is  
next-ftp(_at_)peak(_dot_)org but it could be different things also, so I want  
to match the 'next-ftp' part)

I want any messages address to *luomat or *next-ftp to run the program.

* ^TO*luomat|*next-ftp
        didn't seem to work, nor did:
* ^TO*(luomat|next-ftp)

What is the proper way to do this with procmail 3.11?

Stumped,
TjL