[Exim] "authentication required but server did not advertise…

Top Page
Delete this message
Reply to this message
Author: Robert Voppmann
Date:  
To: exim-users
Subject: [Exim] "authentication required but server did not advertise AUTH support"--?
Hello,

I told exim that it should authenticate itself to the smart host
by putting

hosts_require_auth = smtp.smarthost.dom

in the transport definition, because this will be required from
tomorrow on anyway. Exim tells me:

> ... defer (-42): authentication required but server did
> not advertise AUTH support


TLS is explicitly not required.
I have checked manually that AUTH=LOGIN is supported:

> $ telnet smtp.smarthost.dom 25
> ...
> ehlo
> 250-smtp.smarthost.dom Hi.
> 250-PIPELINING
> 250-AUTH=LOGIN
> 250 8BITMIME
> auth login
> 334 VXNlcm5hbWU6
> YmVudXR6ZXJuYW1l
> 334 UGFzc3dvcmQ6
> cGFzc3dvcnQ=
> 235 authentication successful
> quit


Debugging the delivery attempt with exim4 -d -M msg-id did
not enable me to find the cause of the problem -- this is what it says:

> Connecting to smtp.smarthost.dom.ext [123.123.123.123]:25 ... connected
> read response data: size=50
>   SMTP<< 220 smtp.smarthost.dom ESMTP CPMTA-5_0_2_2 - NO UCE
> 123.123.123.123 in hosts_avoid_esmtp? no (option unset)
>   SMTP>> EHLO hostname
> read response data: size=71
>   SMTP<< 250-smtp.smarthost.dom Hi.
>          250-PIPELINING
>          250-AUTH=LOGIN
>          250 8BITMIME
> 123.123.123.123 in hosts_require_tls? no (option unset)
> gethostbyname2(af=inet6) returned 3 (NO_RECOVERY)
> gethostbyname2 looked up these IP addresses:
>   name=smtp.smarthost.dom.ext address=123.123.123.123
> 123.123.123.123 in hosts_require_auth? yes (matched "smtp.smarthost.dom")
>   SMTP>> QUIT
> set_process_info: 23353 delivering msg-id: just tried smtp.smarthost.dom.ext [123.123.123.123] for robert@???: result DEFER
> added retry item for T:smtp.smarthost.dom.ext:123.123.123.123: errno=-42 65 flags=2
> ...
>   error -42 65: authentication required but server did not advertise AUTH support


What could be the reason for exim saying the "server did not
advertise AUTH support" ??

Thanks & Regards,
Robert.