On 7/13/2023 3:53 PM, Chris Green via Postfix-users wrote:
On the Postfix Basic Configuration page it says:-

     For the sake of consistency between sender and recipient addresses,
     myorigin also specifies the domain name that is appended to an
     unqualified recipient address.

Is there any way to override this, i.e. can one explicitly set the
domain that is appended to an unqualified recipient address to some
value other than myorigin?

I have a number of 'send only' systems running Postfix and I want mail
sent to 'chris' to be sent to my home server not to user chris on the
sending system. However I need myorigin set to the name of the sending
machine so that I can see where the (error) message came from.



Use a virtual_alias_maps entry on the sending system to redirect mail to where you want it. This won't affect the sending address, so you can still see where it came from.

chris@localhost  user@somewhere


  -- Noel Jones
_______________________________________________
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org

Reply via email to