Incorrect padding

Lele Gaifax lele at
Mon Feb 27 09:57:40 GMT 2017

Nicolas Sebrecht <nicolas.s-dev at> writes:

> On Fri, Feb 24, 2017 at 04:00:48PM +0000, ael wrote:
>> offlineimap won't connect to a bt imap server:
>> OfflineIMAP 7.0.12
>>   Licensed under the GNU GPL v2 or any later version (with an OpenSSL exception)
>> Account sync bt:
>>  *** Processing account bt
>>  Establishing connection to (btserv)
>>  ERROR: While attempting to sync account 'bt'
>>   Incorrect padding
>>  *** Finished account 'bt' in 0:00
>> ERROR: Exceptions occurred during the run!
>> ERROR: While attempting to sync account 'bt'
>>   Incorrect padding
> Never seen this error before.

FWIW, I reported what seems the same error one year ago, with subject
"binascii.Error: Incorrect padding" (unfortunately I'm not able to reference
the thread as gmane interface isn't helping).

In my case, the reason was that the AUTHENTICATE command resulted in a plain
string containing "go ahead".

See also

ciao, lele.
nickname: Lele Gaifax | Quando vivrò di quello che ho pensato ieri
real: Emanuele Gaifas | comincerò ad aver paura di chi mi copia.
lele at  |                 -- Fortunato Depero, 1929.

More information about the OfflineIMAP-project mailing list