Centos 7 new install, firewalld blocking external smtp connections

3 posts / 0 new
Last post
#1 Tue, 11/05/2019 - 05:34
mkiller

Centos 7 new install, firewalld blocking external smtp connections

Hi.

I've a brand new install of centos 7, installed virtualmin.

Doing a test connection externally (telnet to port 25) I get 421 connect to smtp server, connection error 10060. I believe this means the connection timed out.

Using SSH to connect to the server and running the same command connects fine which leads to firewall settings being the issue.

I've looked at the default settings for firewalld and it appears that server smtp is allowed in the public zone (as installed by virtualmin). I've applied the configuration in case that is needed but it makes no difference.

Is there anything I'm missing?

Tue, 11/05/2019 - 06:30
briand

I don't use POP 3 on port 25 anymore, I use IMAP settings which are secure and probably most mails systems now look for secure IMAP. are ports 993 and 587 open ?

Tue, 11/05/2019 - 08:27
mkiller

No, these ports have the same error.

Hmm, restarted firewalld and now it seems to work.

Topic locked