namshi / docker-smtp

SMTP docker container
MIT License
548 stars 198 forks source link

TLS Does Not Enable #55

Closed everops-nick closed 5 years ago

everops-nick commented 5 years ago

After setting KEY_PATH and CERTIFICATE_PATH I do not have TLS enabled. I can see that it finds the certs, it copy's them over successfully, then the daemon starts without TLS.

exim 4.89 daemon started: pid=1, -q15m, listening for SMTP on port 25 (IPv6 and IPv4)

$ telnet localhost 25 Trying 127.0.0.1... Connected to localhost. Escape character is '^]'.

220 2d716bca357d ESMTP Exim 4.89 Thu, 11 Jul 2019 14:51:29 +0000 STARTTLS 503 STARTTLS command used when not advertised

Any suggestions would be appreciated

everops-nick commented 5 years ago

Update: I have also tried PORT=587 and 465 but to no avail.

everops-nick commented 5 years ago

User error...I was not passing EHLO prior to starttls