Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section Mail Server
  • Search

SMTP/POP3/IMAP Mail server does not work

Questions regarding the Mail Server
Dovecot, Exim, RoundCube
Post Reply
  • Print view
Advanced search
8 posts • Page 1 of 1
DuronBR
Posts: 14
Joined: Tue Jul 16, 2019 12:36 pm

Os: CentOS 5x
Web: apache + nginx
SMTP/POP3/IMAP Mail server does not work
  • Quote

Post by DuronBR » Tue Jul 16, 2019 12:58 pm

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 
Last edited by DuronBR on Tue Jul 16, 2019 6:39 pm, edited 1 time in total.
Top

skamasle
Collaborator
Posts: 592
Joined: Mon Feb 29, 2016 6:36 pm

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

Post by skamasle » 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 )
Top

DuronBR
Posts: 14
Joined: Tue Jul 16, 2019 12:36 pm

Os: CentOS 5x
Web: apache + nginx
Re: SMTP/POP3/IMAP Mail server does not work
  • Quote

Post by DuronBR » Tue Jul 16, 2019 6:13 pm

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.
Top

DuronBR
Posts: 14
Joined: Tue Jul 16, 2019 12:36 pm

Os: CentOS 5x
Web: apache + nginx
Re: SMTP/POP3/IMAP Mail server does not work
  • Quote

Post by DuronBR » Tue Jul 16, 2019 6:23 pm

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.
Top

skamasle
Collaborator
Posts: 592
Joined: Mon Feb 29, 2016 6:36 pm

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

Post by skamasle » 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 ?
Top

DuronBR
Posts: 14
Joined: Tue Jul 16, 2019 12:36 pm

Os: CentOS 5x
Web: apache + nginx
Re: SMTP/POP3/IMAP Mail server does not work
  • Quote

Post by DuronBR » Tue Jul 16, 2019 6:36 pm

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
Top

DuronBR
Posts: 14
Joined: Tue Jul 16, 2019 12:36 pm

Os: CentOS 5x
Web: apache + nginx
Re: SMTP/POP3/IMAP Mail server does not work
  • Quote

Post by DuronBR » 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.
Top

inazeem
Posts: 7
Joined: Wed Jan 29, 2020 2:43 pm
Contact:
Contact inazeem
Website

Os: Ubuntu 17x
Web: apache + nginx
Re: SMTP/POP3/IMAP Mail server does not work
  • Quote

Post by inazeem » Tue Feb 25, 2020 11:30 am

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?
Top


Post Reply
  • Print view

8 posts • Page 1 of 1

Return to “Mail Server”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password