when forwarding to mulitple addresses you must seperate the address with a
',' and NO space between the address names. Try it that should work.
In return could you post your sample recipe to catch the procmail list
postings to a folder?
Gerhard
On Mon, 12 Nov 2001, Poohba wrote:
Date: Mon, 12 Nov 2001 16:34:12 -0500 (EST)
From: Poohba <poohba(_at_)blkpoohba(_dot_)dyndns(_dot_)org>
To: Jesper Hansen <jesperh(_at_)telia(_dot_)com>
Cc: procmail(_at_)Lists(_dot_)RWTH-Aachen(_dot_)DE
Subject: Re: problem with forwarding to multiple addresses
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
best regards,
gerhard
email: gjt(_at_)gjtcentral(_dot_)com
web: www.gjtcentral.com
host: SDF Public Access UNIX System
http://sdf.lonestar.org
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail