R . A . Imhoff:
> 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?
> 
> 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.
> 
> (I'm running Postfix version 2.7.0 under Ubuntu 10.04)
> 
> Having searched the internet quite extensively on this question, it seems a 
> number of others have attempted this, but I didn't find any solution ...
> 
> Many thanks for any help!

Provide the Message-ID header in your PHP messages.

Provide the Return-Path address with the Postfix "sendmail -f"
command-line option.

        Wietse

Reply via email to