Local server and remote server with same domain name.
Smarthost configured to use remote SMTP with a user named the same as a local one (i.e. both serves have user@domain.tld
). Mail server was not installed.
After installing nethserver-roundcubemail
for internal use, e-mail notifications to user@domain.tld are delivered locally (not through the smarthost, not delivered to remote server).
To be able to deliver through smarthost changed destination mail for notifications for an e-mail address not matching a local user.
Is there a better setup allowing same local/external e-mail addresses being able to deliver externally?
Even if dovecot and postfix were to be restricted to green LAN?