retrieve from imap with "plain" auth method

asked 2015-10-08 01:15:45 +0200

trone gravatar image

updated 2016-10-17 10:45:43 +0200

jiit gravatar image

1) Is it possibile specify a PLAIN auth method in the general email account? My imap server refuse my login credentials because seems the client choose only the CRAM-MD5 auth.

[4643] Oct 08 00:02:34 [Debug] IMAP :  "17" RECV: * CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE STARTTLS AUTH=PLAIN AUTH=LOGIN AUTH=DIGEST-MD5 AUTH=CRAM-MD5
[4643] Oct 08 00:02:34 [Debug] IMAP :  "17" RECV: a001 OK Pre-login capabilities listed, post-login capabilities have more. 
[4643] Oct 08 00:02:34 [Debug] IMAP :  "17" SEND a002 STARTTLS 
[4643] Oct 08 00:02:34 [Debug] IMAP :  "17" RECV: a002 OK Begin TLS negotiation now. 
[4643] Oct 08 00:02:34 [Warning] Encrypted connect warnings: "'The host name did not match any of the valid hosts for this certificate', 'The certificate is self-signed, and untrusted'" 
[4643] Oct 08 00:02:34 [Warning] Accepting untrusted certificates 
[4643] Oct 08 00:02:34 [Debug] Messaging :  IMAP : Secure connection established 
[4643] Oct 08 00:02:34 [Debug] IMAP :  "17" SEND a003 CAPABILITY 
[4643] Oct 08 00:02:34 [Debug] IMAP :  "17" RECV: * CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE AUTH=PLAIN AUTH=LOGIN AUTH=DIGEST-MD5 AUTH=CRAM-MD5 
[4643] Oct 08 00:02:34 [Debug] IMAP :  "17" RECV: a003 OK Pre-login capabilities listed, post-login capabilities have more. 
[4643] Oct 08 00:02:34 [Debug] IMAP :  Discovering authentication from capabilities for account id: 25 
[4643] Oct 08 00:02:34 [Debug] IMAP :  Auths found:  ("PLAIN", "LOGIN", "DIGEST-MD5", "CRAM-MD5") 
[4643] Oct 08 00:02:34 [Debug] IMAP :  Returning auth CRAM-MD5 
[4643] Oct 08 00:02:34 [Debug] IMAP :  void ImapClient::onAccountsUpdated(const QMailAccountIdList&) "xxx" 
[4643] Oct 08 00:02:34 [Debug] IMAP :  "17" SEND a004 AUTHENTICATE CRAM-MD5 
[4643] Oct 08 00:02:34 [Debug] IMAP :  void ImapClient::onAccountsUpdated(const QMailAccountIdList&) "xxx" 
[4643] Oct 08 00:02:38 [Debug] IMAP :  "17" RECV: + APY4TMEj4j5jINMTFGSFG4123454ZX1OEBiYXJuZXk+ 
[4643] Oct 08 00:02:38 [Debug] IMAP :  "17" SEND SEND: <login hidden> 
[4643] Oct 08 00:02:40 [Debug] IMAP :  "17" RECV: a004 NO [AUTHENTICATIONFAILED] Authentication failed.

2) when the account config action fails I can't save the config, so I need to write (again) all the config data. Maybe a little feature could to be allow to save the data ALSO with no working account credentials.

edit retag flag offensive close delete