Add to /etc/postfix/main.cf:
smtp_generic_maps = hash:/etc/postfix/generic
Create /etc/postfix/generic with content:
@server.fqdn.tld @fqdn.tld
postmap /etc/postfix/generic
Sources:
: Use masquerade_domains instead?
Add to/change in main.cf:
inet_protocols = ipv4
Sources: