Hello Wietse On 2010-06-15, at 02:48, Wietse Venema wrote: > Weird, but possible.
I fear that the author of a software finding my config for said software "weird, but possible" is not a good sign. :-) What part of it do find weird, and why? I don't want host.example.com to handle any mail, that's why I set mydestination = inet_interfaces = loopback-only local_transport = error:local delivery is disabled Instead I want all mail to be sent to the mail server of my domain, that's why I set relayhost = example.com That way I can change my domain's mx, without having to update any host configurations. > /etc/postfix/main.cf: > masquerade_domains = $mydomain > masquerade_classes = envelope_recipient, envelope_sender I if want to see which host the mail originated (not only in the header, but also in the sender address) I guess I would have to set only: masquerade_classes = envelope_recipient Otherwise it would maybe be easier to just set myorigin = example.com Or am I missing something? Regards Matias