procmail
[Top] [All Lists]

Re: receipe question for .procmailrc

2000-11-20 15:18:47
On Mon, Nov 20, 2000 at 06:49:54PM +0000, anand v wrote:
How could I change this .procmailrc so that I want to handle
multiple emails like this

:hb
^From:(_dot_)*user1(_at_)hotmail(_dot_)com
|mailexec

:hb
^From:(_dot_)*user2(_at_)hotmail(_dot_)com
|mailexec

Enclose the usernames in parens, seperating them with pipe symbols. IE:

:hb
^From:.*(user1|user2|user3)@hotmail.com
|mailexec


-- 
Andrew Edelstein                http://andrew.pure-chaos.com

"Center of the Universe, God speaking..."
                                Kethryvis, 5 Apr 2000
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>