Author Topic: How to enable SSL/TLS and ports 995 and 465/587 for POP email  (Read 1420 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
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)

Offline
**
Re: How to enable SSL/TLS and ports 995 and 465/587 for POP email
« Reply #1 on: May 16, 2023, 05:23:09 PM »
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:
Code: [Select]
netstat -tulpn | egrep "dovecot|/master"and show us output.
« Last Edit: May 16, 2023, 05:29:12 PM by cyberspace »

Offline
*****
Re: How to enable SSL/TLS and ports 995 and 465/587 for POP email
« Reply #2 on: May 16, 2023, 10:32:27 PM »
Take stock of what's running
Code: [Select]
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):
Code: [Select]
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"