(connect to aspmx2.googlemail.com[209.85.233.26]:25: Connection refused)

Started by supportsiteurl, March 17, 2020, 06:57:09 AM

Previous topic - Next topic

supportsiteurl

Mail are going if we disable the firewall and if we enable the firewall mails are not going.


1. When the firewall is on we are gettting this error





Port No. 25 is open in both TCP and UDP




If anyone has the solution please help us..


Sandeep

probably your server provider doesn't allow you to send email through port 25 ask them to lift the restrictions.

supportsiteurl

When we disable firewall, emails are going.

Also the service provider has replied saying that they have not blocked port 25

Sandeep


bartje1974

I can confirm this error.
My thought was the receiving mail server is blocking my email.
But it is not because when I turn off the firewall they are sent.

So, this is a bug in the firewall.

pixelpadre

I posted this same problem a year ago.  got the same message in tbird from google even though port 25 was not blocked in my firewall.  I did not try disabling the firewall though.  I just changed to a different port.

ejsolutions

Alternatively, if your installation has the official Configserver Firewall GUI..  ::)
Go to Firewall Configuration..
SMTP_ALLOWGROUP = mail,exim,postfix,dovecot
(not all will be required)

You can also find this in /etc/csf/csf.conf <-- may as well read the file whilst you're there.

bartje1974

Thank you ejsolutions,

That solves the problem.
Now i understand why that's not working anymore.
Before we had the update without the firewall gui it worked.

ejsolutions

You're welcome.

The lack of the official GUI makes it more likely that people won't check the various options. It doesn't change the way the firewall works.


Sandeep

if you tried to modify by your self or install, then configs need to be maintained by you. Else leave it default