Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want to use exim4 as a smarthost to send email using an smtp mail account over ssl. I've seen the hosts_require_tls option, but I need SSL and not TLS. How should I do this?

share|improve this question
What do you mean by “I need SSL and not TLS”? SSL and TLS are the same family of protocols, SSL is the name for the older versions and TLS is the name for the newer versions. Read en.wikipedia.org/SSL (which is also en.wikipedia.org/TLS). – Gilles Jun 16 '12 at 23:41
I knew that TLS is the same family, I just didn't know that they are compatible / TLS also means SSL support. As TLS is newer I assumed it would only support TLS. – stefan.at.wpf Jun 21 '12 at 11:50
@Gilles, unfortauntely, many people mean STARTTLS when they use the word TLS (completely ignoring the word "START", which is the important part, of course). stefan.at.wpf, you need to find out whether your server supports SMTPS or SMTP+STARTTLS, or both (see this on SF). – Bruno Jul 26 '12 at 22:41

You can set the protocol option in your smtp transport to smtps. This will cause Exim to connect out on port 465, and initiate TLS as soon as it connects to the remote server.

See the documentation for protocol at http://www.exim.org/exim-html-current/doc/html/spec_html/ch-the_smtp_transport.html for more information.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.