Page 1 of 1

SMTP/POP3/IMAP Mail server does not work

Posted: Tue Jul 16, 2019 12:58 pm
by DuronBR
SMTP/POP3/IMAP Mail server does not work
Link test: https://www.checktls.com/TestReceiver

Image

The server was running and stopped working out of nowhere, so I re-installed VESTACP twice and the mail server no longer works.

I have searched the topics here in the forum and nothing solved, will be a failure in the vestacp?

It is said that the doors are closed but I have done everything.


Code: Select all

iptables -A INPUT -p tcp --sport 587 -j ACCEPT
iptables -A INPUT -p tcp --sport 25 -j ACCEPT

/sbin/service iptables save 

Re: SMTP/POP3/IMAP Mail server does not work

Posted: Tue Jul 16, 2019 4:59 pm
by skamasle
But, have your provider that ports opened ?

From SSH try conect with telnet or netcat to port 25 from localhost

Also check if exim is runing "service exim status"

May be your provider restrict access to port 25 ( some providers do )

Re: SMTP/POP3/IMAP Mail server does not work

Posted: Tue Jul 16, 2019 6:13 pm
by DuronBR
skamasle wrote:
Tue Jul 16, 2019 4:59 pm
But, have your provider that ports opened ?

From SSH try conect with telnet or netcat to port 25 from localhost

Also check if exim is runing "service exim status"

May be your provider restrict access to port 25 ( some providers do )

Code: Select all

[root@srv ~]# service exim status
exim (pid  1232) is running...
My vps provider has reported that the ports are cleared.
I do not know what else to do.

Re: SMTP/POP3/IMAP Mail server does not work

Posted: Tue Jul 16, 2019 6:23 pm
by DuronBR
Hosting provider response
Hello,

Chain INPUT (policy DROP)
target prot opt source destination
fail2ban-SSH tcp -- anywhere anywhere tcp dpt:ssh
fail2ban-MAIL tcp -- anywhere anywhere multiport dports smtp,urd,submission,ms-v
worlds,pop3,pop3s,imap,imaps
fail2ban-VESTA tcp -- anywhere anywhere tcp dpt:us-srv
fail2ban-FTP tcp -- anywhere anywhere tcp dpt:ftp

One of the services running on the machine is invoking fail2ban to create firewall rules. You will need to disable it within the service. Its not uncommon for this to be a part of web hosting packages, so that would be the best place to start.

Re: SMTP/POP3/IMAP Mail server does not work

Posted: Tue Jul 16, 2019 6:33 pm
by skamasle
Send me private message with your hostname / IP or what uri you use for test

In any case, you have open ports in your vesta firewall ?

Re: SMTP/POP3/IMAP Mail server does not work

Posted: Tue Jul 16, 2019 6:36 pm
by DuronBR
skamasle wrote:
Tue Jul 16, 2019 6:33 pm
Send me private message with your hostname / IP or what uri you use for test

In any case, you have open ports in your vesta firewall ?

IP Table is disabled in email

Code: Select all

[root@srv ~]# service fail2ban status
fail2ban-server (pid  2825) is running...
Status
|- Number of jail:      4
`- Jail list:   dovecot-iptables, ssh-iptables, vesta-iptables, vsftpd-iptables

Re: SMTP/POP3/IMAP Mail server does not work

Posted: Mon Jul 22, 2019 2:02 pm
by DuronBR
RESOLVED.

Hosting provider response

Code: Select all

Your service appears to have been ACL'd with no indication on our end.
I have removed the ACL from the service.
Now it's passing SMTP traffic :)
Thanks.

Re: SMTP/POP3/IMAP Mail server does not work

Posted: Tue Feb 25, 2020 11:30 am
by inazeem
DuronBR wrote:
Mon Jul 22, 2019 2:02 pm
RESOLVED.

Hosting provider response

Code: Select all

Your service appears to have been ACL'd with no indication on our end.
I have removed the ACL from the service.
Now it's passing SMTP traffic :)
Thanks.

I have the same problem, how can i remove the acl?