[Users] failed SMTP auth does not ask for new password

Olaf Hering olaf at aepfle.de
Fri Apr 7 07:59:00 CEST 2017


While trying to send an email I entered the wrong SMTP password. In the logs I see the 501 response from the server. When I try to send the message again CM will reuse the existing password, instead of asking for a new one. Is there any code in CM which would ask for a new password? If so, perhaps the "failed auth" response is not parsed properly.

I noticed my provider responds with 535, as shown below, and CM recognizes that a different password is needed.

Olaf

...
* Konto: 'u at h': Verbinde mit SMTP-Server: host:25...
[07:53:04] SMTP< 220 host GroupWise Internet Agent 14.2.1  Copyright 1993-2016 Novell, Inc., a Micro Focus Company. All rights reserved. Ready
[07:53:04] ESMTP> EHLO sender
[07:53:04] ESMTP< 250-host
[07:53:04] ESMTP< 250-AUTH LOGIN
[07:53:04] ESMTP< 250-8BITMIME
[07:53:04] ESMTP< 250-SIZE
[07:53:04] ESMTP< 250-DSN
[07:53:04] ESMTP< 250 STARTTLS
[07:53:04] ESMTP> STARTTLS
[07:53:04] ESMTP< 220 Ready to start TLS
[07:53:04] ESMTP> EHLO sender
[07:53:04] ESMTP< 250-host
[07:53:04] ESMTP< 250-AUTH LOGIN
[07:53:04] ESMTP< 250-8BITMIME
[07:53:04] ESMTP< 250-SIZE
[07:53:04] ESMTP< 250 DSN
[07:53:04] ESMTP> AUTH LOGIN
[07:53:04] ESMTP< 334 whatever
[07:53:04] ESMTP> [USERID]
[07:53:04] ESMTP< 334 whatever
[07:53:04] ESMTP> [PASSWORD]
[07:53:08] ESMTP< 501 Authentication failed
** Fehler bei der SMTP-Sitzung
*** Fehler beim Senden der Nachricht:
501 Authentication failed
[07:53:08] IMAP- [fetching flags...]
[07:53:08] IMAP> 3594 UID FETCH 1:* (FLAGS UID) 
....

...
* Konto: 'olaf at aepfle.de': Verbinde mit SMTP-Server: smtp.strato.de:25...
[07:55:53] SMTP< 220 smtp.strato.de ESMTP RZmta 40.4 ready (mo31)
[07:55:53] ESMTP> EHLO sender
[07:55:53] ESMTP< 250-smtp.strato.de greets 62.216.207.153
[07:55:53] ESMTP< 250-ENHANCEDSTATUSCODES
[07:55:53] ESMTP< 250-PIPELINING
[07:55:53] ESMTP< 250-8BITMIME
[07:55:53] ESMTP< 250-DELIVERBY
[07:55:53] ESMTP< 250-SIZE 104857600
[07:55:53] ESMTP< 250-AUTH DIGEST-MD5 CRAM-MD5 LOGIN PLAIN
[07:55:53] ESMTP< 250-STARTTLS
[07:55:53] ESMTP< 250-BURL imap
[07:55:53] ESMTP< 250-CHUNKING
[07:55:54] ESMTP< 250 HELP
[07:55:54] ESMTP> STARTTLS
[07:55:54] ESMTP< 220 Ready to start TLS
[07:55:54] ESMTP> EHLO sender
[07:55:54] ESMTP< 250-smtp.strato.de greets 62.216.207.153
[07:55:54] ESMTP< 250-ENHANCEDSTATUSCODES
[07:55:54] ESMTP< 250-PIPELINING
[07:55:54] ESMTP< 250-8BITMIME
[07:55:54] ESMTP< 250-DELIVERBY
[07:55:54] ESMTP< 250-SIZE 104857600
[07:55:54] ESMTP< 250-AUTH DIGEST-MD5 CRAM-MD5 LOGIN PLAIN
[07:55:54] ESMTP< 250-BURL imap
[07:55:54] ESMTP< 250-CHUNKING
[07:55:54] ESMTP< 250 HELP
[07:55:54] ESMTP> AUTH CRAM-MD5
[07:55:54] ESMTP< 334 whatever
[07:55:54] ESMTP< [Decoded: whatever]
[07:55:54] ESMTP> [Encoded: whatever]
[07:55:54] ESMTP> whatever
[07:55:58] ESMTP< 535 5.7.8 Authentication failed: wrong user/password
** Fehler beim Authentifizieren
*** Authentifizierung schlug fehl:
535 5.7.8 Authentication failed: wrong user/password
[07:55:58] IMAP> 2101 SELECT Queue 
...
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: Digitale Signatur von OpenPGP
URL: <http://lists.claws-mail.org/pipermail/users/attachments/20170407/3ac2cd55/attachment.sig>


More information about the Users mailing list