open relay, how to ...
 
Notifications
Clear all

[Solved] open relay, how to disable?

4 Posts
3 Users
1 Reactions
1,786 Views
 vamp
(@vamp)
Joined: 1 year 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: 3 years ago
Posts: 593
 

@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: 1 year ago
Posts: 10
 

@sharif

Hi.

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


   
ReplyQuote
 svg
(@svg)
Joined: 1 year ago
Posts: 10
 

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


   
ReplyQuote