Bug#224151: Bug #224151: exim4: fails to authenticate to smarthost

Marc Haber Marc Haber <mh+debian-packages@zugschlus.de>, 224151-maintonly@bugs.debian.org
Sun, 6 Feb 2005 15:19:17 +0100


On Tue, Jun 22, 2004 at 10:48:31PM +0200, Johannes Rohr wrote:
> Sorry, I really wasn't very helpful. Here is a log:

Sorry for taking so long to notice.

>   SMTP<< 220 xpert.comlink.org ESMTP Exim 4.24 Tue, 22 Jun 2004 22:39:00 +0200
>   SMTP>> EHLO localhost
>   SMTP<< 250-xpert.comlink.org Hello localhost [62.134.73.33]
>          250-SIZE 36700160
>          250-8BITMIME
>          250-PIPELINING
>          250-AUTH PLAIN LOGIN CRAM-MD5
>          250 HELP
>   SMTP>> AUTH CRAM-MD5
>   SMTP<< 334 XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
>   SMTP>> ****************************************************
>   SMTP<< 535 Incorrect authentication data
> LOG: MAIN
>   cram_md5 authenticator failed H=smtp.comlink.org [62.145.18.240] 535 Incorrect
> authentication data
>   SMTP>> AUTH PLAIN ************************
>   SMTP<< 235 Authentication succeeded
>   SMTP>> MAIL FROM:<johannes@infoe.de> SIZE=3359
>   SMTP>> RCPT TO:<FMaderspacher@t-online.de>
>   SMTP>> DATA
>   SMTP<< 250 OK
>   SMTP<< 250 Accepted
>   SMTP<< 354 Enter message, ending with "." on a line by itself
>   SMTP>> writing message and terminating "."
>   SMTP<< 250 OK id=1Bcs2m-00083k-Se
>   SMTP>> QUIT

That's a successful delivery of a message. The only strange thing that
I see here is that your host first tries to authenticate via CRAM-MD5,
unsuccessfully, and then falls back to AUTH PLAIN. This might happen
when the smarthost doesn't support CRAM-MD5.

We need to see the log of a failed delivery, most probably generateable
by the way Andreas' pointed out to you:

echo foo | exim4 -d some_address@example 2>&1 | tee /tmp/debuglog

and then sending in /tmp/debuglog.

Greetings
Marc

-- 
-----------------------------------------------------------------------------
Marc Haber         | "I don't trust Computers. They | Mailadresse im Header
Mannheim, Germany  |  lose things."    Winona Ryder | Fon: *49 621 72739834
Nordisch by Nature |  How to make an American Quilt | Fax: *49 621 72739835