At 03:06 PM 8/23/98 -0600, Brent Sims wrote:
I have one recipe that I want to apply on multiple email
addresses. While I can easily duplicate the recipe for each email address
it just seems to me that there has to be a better way...
As it took me two months to get this far (my very own working
procmail recipe book), any suggestions that a rookie like me could handle
would could handle would be greatly appreciated.
You mean like this?
:0:
*
^From:(.*\<)?(((george|fred)@somewhere\.com)|(dawn(_at_)sunrise\(_dot_)net))
my-bridge-partners
That will do the same thing for george(_at_)somewhere(_dot_)com,
fred(_at_)somewhere(_dot_)com,
and dawn(_at_)sunrise(_dot_)net, which is deliver to the folder
"my-bridge-partners".
(Obviously, you could put any action you want there instead.)
That "(.*\<)?" at the beginning is so you will match things like:
From:fred(_at_)somewhere(_dot_)com
From: fred(_at_)somewhere(_dot_)com
but not:
From:alfred(_at_)somewhere(_dot_)com
From: alfred(_at_)somewhere(_dot_)com
etc.
Hope that helps,
Stan