open relay, how to ...
 
Notifications
Clear all

[Solved] open relay, how to disable?

4 Posts
3 Users
1 Likes
863 Views
 vamp
(@vamp)
Joined: 8 months ago
Posts: 6
Topic starter  

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


   
Quote
(@sharif)
Admin
Joined: 2 years ago
Posts: 410
 

@vamp

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


   
ReplyQuote
 svg
(@svg)
Joined: 7 months ago
Posts: 7
 

@sharif

Hi.

This way does not work in my server. Please help.


   
ReplyQuote
 svg
(@svg)
Joined: 7 months ago
Posts: 7
 

Checked in other tool. It works. My server is not an open relay. Sorry and thank you.


   
ReplyQuote