Re: exim4 and TLS Once Again
- Date: Fri, 1 Jun 2018 17:18:39 +0100
- From: Brian <ad44@xxxxxxxxxxxxxxx>
- Subject: Re: exim4 and TLS Once Again
On Tue 29 May 2018 at 12:00:20 -0500, David Wright wrote:
> On Mon 28 May 2018 at 21:26:59 (-0500), Martin McCormick wrote:
> > David Wright <deblis@xxxxxxxxxxxxxxxxx> writes:
> > > And exim's logs say …?
> > 2018-05-28 14:56:38 1fNL0J-0003CQ-70 H=smtp.suddenlink.net [18.104.22.168]: Remote host closed connection in response to initial connection
> > 2018-05-28 14:56:38 1fNL0J-0003CQ-70 == martin@xxxxxxxxxxx R=smarthost T=remote_smtp_smarthost defer (-18) H=smtp.suddenlink.net [22.214.171.124]: Remote host closed connection in response to initial connection
> > That is 100% of the diagnostic help. With the -d flag, that part
> > still doesn't change. All one gets with the -d flag is lots of
> > file descriptors opening and closing.
> > The only thing the log seems to show is that the
> > authentication process goes wrong instantly but no clue whether
> > or what causes that.
> I don't see anything in the log about authentication, only
> "initial connection". That would suggest you haven't even got
> as far as HELO/EHLO.
Indeed, it does mean that. Exim does not admit to knowing anything about
TLS, so the remote server sees no point in going any further.
Create /etc/exim4/conf.d/main/00_my_custom_macros and in it put
TLS_ON_CONNECT = true
To the end of /etc/exim4/conf.d/transport/30_exim4-config_remote_smtp_smarthost
protocol = smtps
'update-exim4.conf' and restart the exim4 service.