hi everyone,
old time zimbra user here, just finished setting up the whole carbonio mailserver, latest version 23.9, everything seems to run fine.
I just don't seem to understand how to disable SMTP open relay, I want my SMTP to accept authenticated users only, but at the moment (with 100% default settings) it allows external anonymous connection.
I see some networks settings in MTA/Outbond flow, but I'm not sure it's what I'm looking for, and it's greyed out/disabled.
any help, please?
thanks a lot
Hi,
You can change the default value of your server's trusted network to disable the SMTP open relay and force authentication.
The default value of Carbonio CE MyNetworks:
zextras@mail:~$ postconf mynetworks mynetworks = 127.0.0.0/8 192.168.1.0/24
Modify the mynetworks value:
zextras@mail:~$ carbonio prov ms `zmhostname` zimbraMtaMyNetworks '127.0.0.0/8 email_server_ip/32' zextras@mail:~$ postfix reload /postfix-script: refreshing the Postfix mail system zextras@mail:~$ postconf mynetworks mynetworks = 127.0.0.0/8 email_server_ip/32 zextras@mail:~$
You can check by sending emails from any IP using CLI other than your email server.
I hope it helps.
Regards,
Sharif
Checked in other tool. It works. My server is not an open relay. Sorry and thank you.