You might want to use :0 c' so that it makes a copy b/c the way you have
it, it will do one thing and then it is gone. There isn't a copy of it to
work with.
On Mon, 12 Nov 2001, Jesper Hansen wrote:
Hi !
I have a problem with forwarding to several addresses, some of which are
forrwards in the
procmailrc file.
Here's the example:
########################################
#.procmailrc
#
#first forward
:0
*^TO_foo(_at_)domain(_dot_)com
! foo(_at_)otheraddress(_dot_)com
#second forward
:0
*^TO_bar(_at_)domain(_dot_)com
! bar(_at_)otheraddress(_dot_)com
#multi forward
:0
*^TO_both(_at_)domain(_dot_)com
! foo(_at_)domain(_dot_)com, bar(_at_)domain(_dot_)com
#catch all
:0
! webmaster(_at_)domain(_dot_)com
#
#end
########################################
Sending mail to either of "foo" or "bar" separately will work.
Mail to "both" don't work and will only be sent to "foo".
I could ofcourse specify "foo" and "bar"s real addresses in the
multiforward, but this
is inconvenient.
Also, a regular mail specifying both "foo" and "bar" in the To line will
only be sent to "foo".
I tried adding a c flag to the two addresses. This succeded in sending to
both addresses,
but obviously also caused the catch all to catch the carbon copy from "bar"
and cause
a dummy mail.
Any hints to how I can have more that one forward ???
/Jesper
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail
--
IRC AIM Yahoo MSN: BlkPoohba
http://blkpoohba.dyndns.org/poohba/index.cgi
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail