i’m a bit confused about the mail apps ‘external address’ option.
I tried to use the ‘external address’ to forward mails to any non internal address(es) without having a mailbox like i did with the virtual table in plain postfix.
But sending an email to this address ends in an error:
Piler is not involved and with sogo and/or roundcube a mailbox is set up.
After more investigations it seems that my ns8 sends a wrong hostname in case of external addresses.
my mx/hostname is “gate.myns-server.de” but in case of an external address the internal name “ad.myns-server.de” is send as hostname which doesn’t resolve to any valid mx/hostname.
Any suggestions to persuade postfix to send the right hostname when forwarding to an external mail address?
Or is the external address option only for internal aliases? Because it works when the external address is an internal address