On Fri, 18 Aug 2000, Mike O. wrote:
I have a client who sends out a monthly newsletter. Visitors to the website
subscribe to the newsletter on his website, but sometimes MisTyPe their
email addresses (how? who knows!). I am working on a recipe that will
forward the bounces to the client instead of me (postmaster).
The bounces have a variety of From addresses, but I have narrowed them down
to about 3 of the more prolific producers. I need to know how to put
multiple From addresses on one line in the postmaster's .procmailrc file. I
want to have any mail from MAILER_DAEMON, nobody(_at_)mydomain(_dot_)com and
anything(_at_)camirl(_dot_)com to be all on one line and to be forwarded to
willdeb(_at_)adelphia(_dot_)net(_dot_)
Would the following do the job? (I don't know of a way to test this, thus
my posting).
:0 f
* ^FROM_MAILER
* ^From(_dot_)*nobody(_at_)www(_dot_)mydomain(_dot_)com
*(_at_)camirl\(_dot_)com
! willdeb(_at_)adelphia(_dot_)net
Thanks in advance,
Mike O.
Perhaps 'scoring' will work (untested!):
http://www.uwasa.fi/~ts/info/proctips.html#scoring
# only one of these conditions need to match
:0
* 1^0 ^FROM_MAILER
* 1^0 ^From:(_dot_)*nobody(_at_)www\(_dot_)mydomain\(_dot_)com
* 1^0 ^From:(_dot_)*(_at_)cairl\(_dot_)com
! willdeb(_at_)adelphia(_dot_)net
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail