Stefan Palme wrote:
this is a question not exactly postfix related: When a mail server
is about to send a bounce message to the original sender of an
undeliverable mail - which address will this bounce be sent to?

The Return-Path? The address from the "From" header?
Or even to the "Reply-To" address?
Bounces are always sent to the envelope sender address. That address is
also added as the Return-Path header by the MTA upon final delivery (i.e.
you won't find the Return-Path header on the wire and you can't use that
header to affect where bounces go).

Thanks for your answer. It's absolutely perfect :-)

I don't want to use the Return-Path for changing any behaviour,
I only want to make sure, that normal replies to an email go to
another recipient (using the Reply-To-Header) than bounce messages...



note that some borked sites will send bounces to From: and/or Reply-To: headers. This probably happens because the bounce is generated by a program (MDA or MDA-like) that doesn't get (or read) the envelope sender. Such sites are generally backscatter sources.

Reply via email to