At 10:58 2004-06-09 +0000, John Conover wrote:
When forwarding, like:
:0
!someone(_at_)somewhere(_dot_)com
procmail, (or the MTA,) changes the "From " and "Return-Path: "
headers to the user ID and FQDN of the owner of the procmail
process.
Is there a way to stop procmail from doing this?
It's the MTA. If you ran the recipe in a sandbox, you'd see that the
message text that procmail hands off to sendmail is unaltered.
You could grab the envelope sender address and hand it to sendmail with the
-f parameter, though sendmail (if configured securely) is likely to insert
a warning into the headers.
:0
! address -f $ORIGINAL_ENVELOPE
The fact is, the original author isn't responsible for having sent it to
the address you're forwarding it to, so it seems rather wrong to stick them
with the bounce if your forward doesn't work.
---
Sean B. Straw / Professional Software Engineering
Procmail disclaimer: <http://www.professional.org/procmail/disclaimer.html>
Please DO NOT carbon me on list replies. I'll get my copy from the list.
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail