[Pkg-exim4-users] Support for tls on connect on outgoing smtp connections?

Andreas Metzler ametzler at bebt.de
Fri Dec 26 07:51:58 UTC 2014


On 2014-12-23 ael <law_ence.dev at ntlworld.com> wrote:
[...]
> I have discovered why it did not work before.

> The problem was that the name of the smarthost was aliased, so it did
> not match the entry in /etc/exim4/passswd.client.

> As you can see by looking at the headers on this message which was sent
> via that smarthost, its name is mail.btinternet.com, but this is an
> alias for mail.btinternet.bt.lon5.cpcloud.co.uk. Since that alias may
> change, it is a bit fragile to put that explicitly into
> /etc/exim4/passswd.client
> but that is what I have done for the moment. I now realise that I have
> met this problem before with another smarthost, so it seems to be a
> common situation.

It is. See <https://bugs.debian.org/244724>

> The debian template does not seem to cater for this, or have I missed
> something?

> Otherwise, I will see if I can write the required dns lookup for a more
> robust password check via /etc/exim4/passwd.client. Should I bug report
> this, perhaps with my potential patch?

This is not trivial to fix, see exim4_passwd_client(5)

> Also, would it be simple to add another variable to
> update-exim4.conf(.conf) to control whether "protocol = smtps" appears
> in the smarthost transport. Just a conditional there?

I do not think that the added complexity of suppporting smtps out of
the box is worth it.

cu Andreas
-- 
`What a good friend you are to him, Dr. Maturin. His other friends are
so grateful to you.'
`I sew his ears on from time to time, sure'



More information about the Pkg-exim4-users mailing list