[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: exim4 and TLS Once Again

On Fri 01 Jun 2018 at 17:18:39 +0100, Brian wrote:

> 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
> add
>   protocol = smtps
> 'update-exim4.conf' and restart the exim4 service.

TLS_ON_CONNECT is unnecessary.

However, be aware that a mail server might expect the envelope From to
correspond to the mail account name, otherwise the mail will not be
authorised. Gmail doesn't do this but others do. By default, Exim will
use the login name on the machine plus the content of /etc/mailname for
the From address.


Reply to: