New in CWP Edge-LatestFree with every CWPpro licenceWebsites up to 300x faster

CWP now includes LSPHP, LSAPI-Cache and CWP Cage at no extra cost with all CWPpro licences. The LSAPI-Cache plugin is integrated into our WordPress and other script installers, and CWP Cage gives every user complete isolation. Available now in the CWP Edge-Latest version.

Get CWPpro ›

How to enable SSL/TLS and ports 995 and 465/587 for POP email

Started by hdaackda, May 16, 2023, 11:33:07 AM

Previous topic - Next topic

hdaackda

I have set up a mail server for my website and can access emails via the unsecured 110 and 25 ports but If I try to connect via SSL to port 995, I keep getting an error.

Can someone point me, as to what do i need to do?

Thanks a LOT in advance!

(Centos 7)

cyberspace

Hi,

1. Please detail what error message you get when you try to connect to the mailboxes using POPS.

2. Connect to your server using SSH as root and run the following command:
netstat -tulpn | egrep "dovecot|/master"
and show us output.

overseer

Take stock of what's running
lsof -i :25
lsof -i :465
lsof -i :587
lsof -i :110
lsof -i :143
lsof -i :993
lsof -i :995


Also allow your STARTTLS and SSL/TLS ports in CSF (/etc/csf/csf.conf):
TCP_IN = "20,21,22,25,53,80,110,143,443,465,587,993,995,2031,2083,2087,2096,2304"
PORTS_imapd = "143,993"
PORTS_pop3d = "110,995"
SMTP_PORTS = "25,465,587"
PORTS_smtpauth = "25,465,587"
PORTS_eximsyntax = "25,465,587"