procmail
[Top] [All Lists]

Re: multiple addresses, one recipe

2004-02-23 08:24:33
On 23 Feb 2004, at 00:49, JM Fraser wrote:
Is it possible for me to have multiple addresses and specfiy one recipe for
all of them? For example:

:0:
*^From:(_dot_)*duda(_at_)somedomain(_dot_)com
*^From:(_dot_)*four(_at_)domain(_dot_)com
*^From:(_dot_)*five(_at_)domain(_dot_)com
$MAILDIR/.big_bird/

That says it the From contains duda(_at_)somedomain(_dot_)com AND four(_at_)domain(_dot_)com AND five(_at_)domain(_dot_)com

Two possible solutions (well, more, but two I am offering)

:0:
* 1^0 ^From:(_dot_)*duda(_at_)somedomain(_dot_)com
* 1^0 ^From:(_dot_)*four(_at_)domain(_dot_)com
* 1^0 ^From:(_dot_)*five(_at_)domain(_dot_)com
$MAILDIR/.big_bird/

:0:
*^From:.*(duda(_at_)somedomain(_dot_)com|four(_at_)domain(_dot_)com|five(_at_)domain(_dot_)com)
$MAILDIR/.big_bird/


--
So now you know the words to our song, pretty soon you'll all be singing along, when you're sad, when you're lonely and it all turns out wrong...


_______________________________________________
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>