I have some authentication trouble with offlineimap. Please note that the settings in my ~/.offlineimaprc are correct (I'm using the same parameters with others mail clients like sylpheed and checked the .offlineimaprc). You can refer to the URL to see the bug report on the official original project. Reproducible: Always Steps to Reproduce: 1. offlineimap 2. 3. Actual Results: Ask for the password in interactive mode after the authentication error : "user not found". Then, typing the _same_ password (as given to the "remotepass" parameter in the configuration file) the authentication success. Expected Results: Offlineimap should just authenticate in the non-interactive mode. % offlineimap -d imap | grep 'DEBUG' DEBUG[imap]: 56:27.10 imaplib version 2.58 DEBUG[imap]: 56:27.10 new IMAP4 connection, tag=JHOD DEBUG[imap]: 56:27.16 < * OK IMAP4 server ready DEBUG[imap]: 56:27.16 matched r'\* (?P<type>[A-Z-]+)( (?P<data>.*))?' => ('OK', ' IMAP4 server ready', 'IMAP4 server ready') DEBUG[imap]: 56:27.16 untagged_responses[OK] 0 += ["IMAP4 server ready"] DEBUG[imap]: 56:27.16 > JHOD0 CAPABILITY DEBUG[imap]: 56:27.21 < * CAPABILITY IMAP4 IMAP4rev1 NAMESPACE UIDPLUS CHILDREN X-NETSCAPE DEBUG[imap]: 56:27.21 matched r'\* (?P<type>[A-Z-]+)( (?P<data>.*))?' => ('CAPABILITY', ' IMAP4 IMAP4rev1 NAMESPACE UIDPLUS CHILDREN X-NETSCAPE', 'IMAP4 IMAP4rev1 NAMESPACE UIDPLUS CHILDREN X-NETSCAPE') DEBUG[imap]: 56:27.21 untagged_responses[CAPABILITY] 0 += ["IMAP4 IMAP4rev1 NAMESPACE UIDPLUS CHILDREN X-NETSCAPE"] DEBUG[imap]: 56:27.21 < JHOD0 OK Completed DEBUG[imap]: 56:27.21 matched r'(?P<tag>JHOD\d+) (?P<type>[A-Z]+) (?P<data>.*)' => ('JHOD0', 'OK', 'Completed') DEBUG[imap]: 56:27.21 untagged_responses[CAPABILITY] => ['IMAP4 IMAP4rev1 NAMESPACE UIDPLUS CHILDREN X-NETSCAPE'] DEBUG[imap]: 56:27.21 CAPABILITIES: ('IMAP4', 'IMAP4REV1', 'NAMESPACE', 'UIDPLUS', 'CHILDREN', 'X-NETSCAPE') DEBUG[imap]: Attempting plain authentication DEBUG[imap]: 56:27.21 > JHOD1 LOGIN ni.s "****** DEBUG[imap]: 56:30.07 < JHOD1 NO Login failed: user not found DEBUG[imap]: 56:30.07 matched r'(?P<tag>JHOD\d+) (?P<type>[A-Z]+) (?P<data>.*)' => ('JHOD1', 'NO', 'Login failed: user not found') DEBUG[imap]: 56:30.07 NO response: Login failed: user not found DEBUG[imap]: 56:30.27 imaplib version 2.58 DEBUG[imap]: 56:30.27 new IMAP4 connection, tag=NDCE DEBUG[imap]: 56:30.33 < * OK IMAP4 server ready DEBUG[imap]: 56:30.33 matched r'\* (?P<type>[A-Z-]+)( (?P<data>.*))?' => ('OK', ' IMAP4 server ready', 'IMAP4 server ready') DEBUG[imap]: 56:30.33 untagged_responses[OK] 0 += ["IMAP4 server ready"] DEBUG[imap]: 56:30.33 > NDCE0 CAPABILITY DEBUG[imap]: 56:30.39 < * CAPABILITY IMAP4 IMAP4rev1 NAMESPACE UIDPLUS CHILDREN X-NETSCAPE DEBUG[imap]: 56:30.39 matched r'\* (?P<type>[A-Z-]+)( (?P<data>.*))?' => ('CAPABILITY', ' IMAP4 IMAP4rev1 NAMESPACE UIDPLUS CHILDREN X-NETSCAPE', 'IMAP4 IMAP4rev1 NAMESPACE UIDPLUS CHILDREN X-NETSCAPE') DEBUG[imap]: 56:30.39 untagged_responses[CAPABILITY] 0 += ["IMAP4 IMAP4rev1 NAMESPACE UIDPLUS CHILDREN X-NETSCAPE"] DEBUG[imap]: 56:30.39 < NDCE0 OK Completed DEBUG[imap]: 56:30.39 matched r'(?P<tag>NDCE\d+) (?P<type>[A-Z]+) (?P<data>.*)' => ('NDCE0', 'OK', 'Completed') DEBUG[imap]: 56:30.39 untagged_responses[CAPABILITY] => ['IMAP4 IMAP4rev1 NAMESPACE UIDPLUS CHILDREN X-NETSCAPE'] DEBUG[imap]: 56:30.39 CAPABILITIES: ('IMAP4', 'IMAP4REV1', 'NAMESPACE', 'UIDPLUS', 'CHILDREN', 'X-NETSCAPE') DEBUG[imap]: Attempting plain authentication
Created attachment 165314 [details] % offlineimap -d imap | grep DEBUG
Created attachment 165316 [details] % cat ~/.offlineimaprc
So it works when you type the password in the second time? But not the first? That's wierd, are you sure the password is correct in the rc file?
(In reply to comment #3) > That's wierd, are you sure the password is correct in the rc file? Yes, it was. Removing all the commentaries fixed this bug. Weird...