You can only have one action per recipe. (untested!)
# legend
# f -- use pipe as filter
# h -- send headers through pipe
# w -- wait for pipe to finish before continuing
#
# swap From headers
:0fhw
* ^TOdesignatedaddress(_at_)mydomain(_dot_)com
| formail -R 'From ' Old-Postmark
# if previous recipe executed successfully,
# forward mail
:0a
!offsiteaddress(_at_)anotherdomain(_dot_)com
On Fri, 4 Aug 2000, Eric Hilding wrote:
I'm still getting an inbox copy of the mail myself which I
do not want, but rather just to forward as if from original
sender. Where is the loose screw? Thanks.
:0
* ^TOdesignatedaddress(_at_)mydomain(_dot_)com
| formail -R 'From ' Old-Postmark
!offsiteaddress(_at_)anotherdomain(_dot_)com
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail