[exim] Re: Sending mail through a smarthost with TLS

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Andreas Metzler
Ημερομηνία:  
Προς: exim-users
Αντικείμενο: [exim] Re: Sending mail through a smarthost with TLS
Matthew Ford <m.ford@???> wrote:
> I would like to configure Exim to send all of my non-local outgoing mail
> through an external relay on port 465. The relay host requires TLS and
> SMTP authentication. I do not need to use TLS for incoming mail.


> I am confused as to whether I need to set up a private key and certificate
> to send outgoing mail

[...]

Usually, neither of these. (Unless the external relay requires are
verified certificate, but if that were the case its owner would need
to provide or sign a certificate for you.)

[...]
> SMTP timeout while connected to smtp.myrelay.com [111.222.333.444] after
> initial connection: Connection timed out


> What should I do to get my TLS and authentication working?


Looks like your remote host is not providing TLS (using the
STARTTLS command) but the (non-standard) ssl-on-connect. Exim does not
support SSL-on connect as client, you'd need to plug-in stunnel in
between.

Are you positive that the remotehost does not provide TLS on either the
SMTP (25) or message-submission (587) port?
               cu andreas
-- 
The 'Galactic Cleaning' policy undertaken by Emperor Zhark is a personal
vision of the emperor's, and its inclusion in this work does not constitute
tacit approval by the author or the publisher for any such projects,
howsoever undertaken.                                (c) Jasper Ffforde