On 12/12/10 12:15 PM, R.A. Imhoff wrote:
Hello,

I was wondering if anyone has succeeded to configure Postfix running on a server hosting multiple 
virtual domains such that outgoing mail to remote destinations get the "Return-Path" and 
the domain of the message-id match the "From:" header?

No.
The message-ID is constructed from the machine name ($myhostname, to be precise); this will not change between virtual domains. The Return-path holds the envelope sender; what it reflects is up to the message sender. To get postfix to append a correct return-path header, use a proper qualified sender address.

As it is, when sending mail, for example with a php call to mail(), the "Return 
path" and the domain of the message-id is always that of the hostname of the machine.

Make sure you understand exactly what it is that that PHP function does.


--
J.

Reply via email to