PROBLEM
I want to enable SMTPS on port 587.
ENVIRONMENT
- On-Premise Server + WebMail Installations: Version 6.0 > Current Version
CAUSE
Exim (and most SMTP servers) only start TLS, or SSL connections after being prompted with the STARTTLS command. There is an older implementation that presents SSL on connection however, and this can be enabled via Atmail.
RESOLUTION
- Open up
/usr/local/atmail/mailserver/configure
. - Add these lines at the top:
tls_on_connect_ports = 465:587
daemon_smtp_ports = 25:465:587 - Then add your SSL definitions below (if you have not defined the following already):
tls_advertise_hosts = *
Where
log_selector = +tls_peerdn
tls_certificate=/usr/local/atmail/mailserver/server.crt
tls_privatekey=/usr/local/atmail/mailserver/server.keyserver.crt
andserver.key
are your SSL files. - Restart Atmail
% /etc/init.d/atmailserver restart
Comments