Package: offlineimap3 Version: 0.0~git20210105.00d395b+dfsg-2 Severity: important
After the upgrade to the python3 offlineimap my mail setup broke. cu Andreas -------------------- 2021-01-30 14:02:59 INFO: OfflineImap 7.3.0 starting... Python: 3.9.1 Platform: linux Args: /usr/bin/offlineimap -d ALL -l /tmp/offlineimap.log 2021-01-30 14:02:59 INFO: imaplib2 v3.05, Python v3.9.1+, OpenSSL 1.1.1i 8 Dec 2020 2021-01-30 14:02:59 DEBUG: Now debugging for imap: IMAP protocol debugging 2021-01-30 14:02:59 DEBUG: Now debugging for maildir: Maildir repository debugging 2021-01-30 14:02:59 DEBUG: Now debugging for thread: Threading debugging 2021-01-30 14:02:59 DEBUG: Now debugging for : Other offlineimap related sync messages 2021-01-30 14:02:59 DEBUG: [thread]: Register new thread 'Account sync accountname' (account 'accountname') 2021-01-30 14:02:59 DEBUG: [imap]: Using authentication mechanisms ['GSSAPI', 'XOAUTH2', 'CRAM-MD5', 'PLAIN', 'LOGIN'] 2021-01-30 14:02:59 DEBUG: [maildir]: MaildirRepository initialized, sep is '.' 2021-01-30 14:02:59 INFO: *** Processing account accountname 2021-01-30 14:02:59 INFO: Establishing connection to mail.server.example.org:993 (Remote.accountname) 2021-01-30 14:02:59 DEBUG: [imap]: Remote.accountname: level 'tls_compat', version 'None' 2021-01-30 14:02:59 DEBUG: [imap]: 02:59.58 Account sync accountname imaplib2 version 3.05 2021-01-30 14:02:59 DEBUG: [imap]: 02:59.58 Account sync accountname imaplib2 debug level 5, buffer level 3 2021-01-30 14:02:59 DEBUG: [imap]: 02:59.68 Account sync accountname connected to mail.server.example.org on port 993 2021-01-30 14:02:59 DEBUG: [imap]: 02:59.68 mail.server.example.org writer starting 2021-01-30 14:02:59 DEBUG: [imap]: 02:59.68 Account sync accountname _request_push(continuation, welcome, {}) = b'LMOB0' 2021-01-30 14:02:59 DEBUG: [imap]: 02:59.68 Account sync accountname welcome:b'LMOB0'.ready.wait 2021-01-30 14:02:59 DEBUG: [imap]: 02:59.68 mail.server.example.org reader starting using poll 2021-01-30 14:02:59 DEBUG: [imap]: 02:59.71 mail.server.example.org reader poll => [(6, 1)] 2021-01-30 14:02:59 DEBUG: [imap]: 02:59.75 mail.server.example.org reader rcvd 145 2021-01-30 14:02:59 DEBUG: [imap]: 02:59.75 mail.server.example.org reader < b'* OK [CAPABILITY IMAP4rev1 SASL-IR LOGIN-REFERRALS ID ENABLE IDLE LITERAL+ LOGINDISABLED AUTH=DIGEST-MD5 AUTH=CRAM-MD5] Dovecot (Debian) ready.\r\n' 2021-01-30 14:02:59 DEBUG: [imap]: 02:59.78 mail.server.example.org handler starting 2021-01-30 14:02:59 DEBUG: [imap]: 02:59.78 mail.server.example.org handler _put_response(b'* OK [CAPABILITY IMAP4rev1 SASL-IR LOGIN-REFERRALS ID ENABLE IDLE LITERAL+ LOGINDISABLED AUTH=DIGEST-MD5 AUTH=CRAM-MD5] Dovecot (Debian) ready.') 2021-01-30 14:02:59 DEBUG: [imap]: 02:59.78 mail.server.example.org handler untagged_responses[OK] 0 += ["b'[CAPABILITY IMAP4rev1 SASL-IR LOGIN-REFERRALS ID ENABLE IDLE LITERAL+ LOGINDIS"] 2021-01-30 14:02:59 DEBUG: [imap]: 02:59.78 mail.server.example.org handler untagged_responses[CAPABILITY] 0 += ["b'IMAP4rev1 SASL-IR LOGIN-REFERRALS ID ENABLE IDLE LITERAL+ LOGINDISABLED AUTH=D"] 2021-01-30 14:02:59 DEBUG: [imap]: 02:59.78 mail.server.example.org handler _request_pop(continuation, (False, b'* OK [CAPABILITY IMAP4rev1 SASL-IR LOGIN-REFERRALS ID ENABLE IDLE LITERAL+ LOGINDISABLED AUTH=DIGEST-MD5 AUTH=CRAM-MD5] Dovecot (Debian) ready.')) [0] = b'LMOB0' 2021-01-30 14:02:59 DEBUG: [imap]: 02:59.78 mail.server.example.org handler welcome:b'LMOB0'.ready.set 2021-01-30 14:02:59 DEBUG: [imap]: 02:59.78 mail.server.example.org handler state_change_free.set 2021-01-30 14:02:59 DEBUG: [imap]: 02:59.78 Account sync accountname _get_untagged_response(OK) => [b'[CAPABILITY IMAP4rev1 SASL-IR LOGIN-REFERRALS ID ENABLE IDLE LITERAL+ LOGINDI 2021-01-30 14:02:59 DEBUG: [imap]: 02:59.78 Account sync accountname state => NONAUTH 2021-01-30 14:02:59 DEBUG: [imap]: 02:59.78 Account sync accountname [async] CAPABILITY () 2021-01-30 14:02:59 DEBUG: [imap]: 02:59.78 Account sync accountname state_change_pending.acquire 2021-01-30 14:02:59 DEBUG: [imap]: 02:59.78 Account sync accountname state_change_pending.release 2021-01-30 14:02:59 DEBUG: [imap]: 02:59.78 Account sync accountname _request_push(b'LMOB1', CAPABILITY, {}) = b'LMOB1' 2021-01-30 14:02:59 DEBUG: [imap]: 02:59.78 Account sync accountname data=b'LMOB1 CAPABILITY' 2021-01-30 14:02:59 DEBUG: [imap]: 02:59.78 Account sync accountname CAPABILITY:b'LMOB1'.ready.wait 2021-01-30 14:02:59 DEBUG: [imap]: 02:59.78 mail.server.example.org writer > b'LMOB1 CAPABILITY\r\n' 2021-01-30 14:02:59 DEBUG: [imap]: 02:59.82 mail.server.example.org reader poll => [(6, 1)] 2021-01-30 14:02:59 DEBUG: [imap]: 02:59.82 mail.server.example.org reader rcvd 116 2021-01-30 14:02:59 DEBUG: [imap]: 02:59.82 mail.server.example.org reader < b'* CAPABILITY IMAP4rev1 SASL-IR LOGIN-REFERRALS ID ENABLE IDLE LITERAL+ LOGINDISABLED AUTH=DIGEST-MD5 AUTH=CRAM-MD5\r\n' 2021-01-30 14:02:59 DEBUG: [imap]: 02:59.82 mail.server.example.org handler _put_response(b'* CAPABILITY IMAP4rev1 SASL-IR LOGIN-REFERRALS ID ENABLE IDLE LITERAL+ LOGINDISABLED AUTH=DIGEST-MD5 AUTH=CRAM-MD5') 2021-01-30 14:02:59 DEBUG: [imap]: 02:59.82 mail.server.example.org handler untagged_responses[CAPABILITY] 1 += ["b'IMAP4rev1 SASL-IR LOGIN-REFERRALS ID ENABLE IDLE LITERAL+ LOGINDISABLED AUTH=D"] 2021-01-30 14:02:59 DEBUG: [imap]: 02:59.85 mail.server.example.org reader poll => [(6, 1)] 2021-01-30 14:02:59 DEBUG: [imap]: 02:59.85 mail.server.example.org reader rcvd 76 2021-01-30 14:02:59 DEBUG: [imap]: 02:59.85 mail.server.example.org reader < b'LMOB1 OK Pre-login capabilities listed, post-login capabilities have more.\r\n' 2021-01-30 14:02:59 DEBUG: [imap]: 02:59.85 mail.server.example.org handler _put_response(b'LMOB1 OK Pre-login capabilities listed, post-login capabilities have more.') 2021-01-30 14:02:59 DEBUG: [imap]: 02:59.85 mail.server.example.org handler _request_pop(b'LMOB1', ('OK', [b'Pre-login capabilities listed, post-login capabilities have more.'])) [0] = b'LMOB1' 2021-01-30 14:02:59 DEBUG: [imap]: 02:59.85 mail.server.example.org handler CAPABILITY:b'LMOB1'.ready.set 2021-01-30 14:02:59 DEBUG: [imap]: 02:59.85 mail.server.example.org handler state_change_free.set 2021-01-30 14:02:59 DEBUG: [imap]: 02:59.85 Account sync accountname _get_untagged_response(CAPABILITY) => [b'IMAP4rev1 SASL-IR LOGIN-REFERRALS ID ENABLE IDLE LITERAL+ LOGINDISABLED AUTH= 2021-01-30 14:02:59 DEBUG: [imap]: 02:59.85 Account sync accountname _untagged_response(OK, ?, CAPABILITY) => [b'IMAP4rev1 SASL-IR LOGIN-REFERRALS ID ENABLE IDLE LITERAL+ LOGINDISABLED AUTH= 2021-01-30 14:02:59 DEBUG: [imap]: 02:59.85 Account sync accountname CAPABILITY: ('IMAP4REV1', 'SASL-IR', 'LOGIN-REFERRALS', 'ID', 'ENABLE', 'IDLE', 'LITERAL+', 'LOGINDISABLED', 'AUTH=DIGEST-MD5', 'AUTH=CRAM-MD5') 2021-01-30 14:02:59 DEBUG: [imap]: Attempting CRAM-MD5 authentication 2021-01-30 14:02:59 DEBUG: [imap]: 02:59.85 Account sync accountname [sync] AUTHENTICATE ('CRAM-MD5',) 2021-01-30 14:02:59 DEBUG: [imap]: 02:59.85 Account sync accountname state_change_pending.acquire 2021-01-30 14:02:59 DEBUG: [imap]: 02:59.85 Account sync accountname _request_push(b'LMOB2', AUTHENTICATE, {}) = b'LMOB2' 2021-01-30 14:02:59 DEBUG: [imap]: 02:59.85 Account sync accountname data=b'LMOB2 AUTHENTICATE CRAM-MD5' 2021-01-30 14:02:59 DEBUG: [imap]: 02:59.85 Account sync accountname _request_push(continuation, b'AUTHENTICATE', {}) = b'LMOB3' 2021-01-30 14:02:59 DEBUG: [imap]: 02:59.85 Account sync accountname b'AUTHENTICATE':b'LMOB3'.ready.wait 2021-01-30 14:02:59 DEBUG: [imap]: 02:59.85 mail.server.example.org writer > b'LMOB2 AUTHENTICATE CRAM-MD5\r\n' 2021-01-30 14:02:59 DEBUG: [imap]: 02:59.89 mail.server.example.org reader poll => [(6, 1)] 2021-01-30 14:02:59 DEBUG: [imap]: 02:59.89 mail.server.example.org reader rcvd 84 2021-01-30 14:02:59 DEBUG: [imap]: 02:59.89 mail.server.example.org reader < b'+ BASE64STRING_stripped\r\n' 2021-01-30 14:02:59 DEBUG: [imap]: 02:59.89 mail.server.example.org handler _put_response(b'+ BASE64STRING_stripped') 2021-01-30 14:02:59 DEBUG: [imap]: 02:59.89 mail.server.example.org handler _request_pop(continuation, (True, b'BASE64STRING_stripped')) [1] = b'LMOB3' 2021-01-30 14:02:59 DEBUG: [imap]: 02:59.89 mail.server.example.org handler b'AUTHENTICATE':b'LMOB3'.ready.set 2021-01-30 14:02:59 DEBUG: [imap]: 02:59.89 Account sync accountname continuation => True, b'BASE64STRING_stripped' 2021-01-30 14:02:59 DEBUG: [imap]: __md5handler: got challenge b'<9182730002082641.1612011...@mail.server.example.org>' 2021-01-30 14:02:59 DEBUG: [imap]: 02:59.89 Account sync accountname state_change_pending.release 2021-01-30 14:02:59 ERROR: ERROR: While attempting to sync account 'accountname' encoding without a string argument 2021-01-30 14:02:59 ERROR: [' File "/usr/share/offlineimap3/offlineimap/accounts.py", line 298, in syncrunner\n self.__sync()\n', ' File "/usr/share/offlineimap3/offlineimap/accounts.py", line 374, in __sync\n remoterepos.getfolders()\n', ' File "/usr/share/offlineimap3/offlineimap/repository/IMAP.py", line 648, in getfolders\n imapobj = self.imapserver.acquireconnection()\n', ' File "/usr/share/offlineimap3/offlineimap/imapserver.py", line 592, in acquireconnection\n self.__authn_helper(imapobj)\n', ' File "/usr/share/offlineimap3/offlineimap/imapserver.py", line 449, in __authn_helper\n if func(imapobj):\n', ' File "/usr/share/offlineimap3/offlineimap/imapserver.py", line 371, in __authn_cram_md5\n imapobj.authenticate(\'CRAM-MD5\', self.__md5handler)\n', ' File "/usr/lib/python3/dist-packages/imaplib2.py", line 691, in authenticate\n typ, dat = self._simple_command(\'AUTHENTICATE\', mechanism.upper())\n', ' File "/usr/lib/python3/dist-packages/imaplib2.py", line 1684, in _simple_command\n return self._command_complete(self._command(name, *args), kw)\n', ' File "/usr/lib/python3/dist-packages/imaplib2.py", line 1404, in _command\n literal = literator(data, rqb)\n', ' File "/usr/lib/python3/dist-packages/imaplib2.py", line 2247, in process\n ret = self.mech(self.decode(data))\n', ' File "/usr/share/offlineimap3/offlineimap/imapserver.py", line 190, in __md5handler\n hmac.new(bytes(passwd, encoding=\'utf-8\'), challenge,\n'] 2021-01-30 14:02:59 INFO: *** Finished account 'accountname' in 0:00 2021-01-30 14:02:59 DEBUG: [thread]: Unregister thread 'Account sync accountname' 2021-01-30 14:02:59 WARNING: ERROR: Exceptions occurred during the run! 2021-01-30 14:02:59 WARNING: ERROR: While attempting to sync account 'accountname' encoding without a string argument 2021-01-30 14:02:59 WARNING: Traceback: File "/usr/share/offlineimap3/offlineimap/accounts.py", line 298, in syncrunner self.__sync() File "/usr/share/offlineimap3/offlineimap/accounts.py", line 374, in __sync remoterepos.getfolders() File "/usr/share/offlineimap3/offlineimap/repository/IMAP.py", line 648, in getfolders imapobj = self.imapserver.acquireconnection() File "/usr/share/offlineimap3/offlineimap/imapserver.py", line 592, in acquireconnection self.__authn_helper(imapobj) File "/usr/share/offlineimap3/offlineimap/imapserver.py", line 449, in __authn_helper if func(imapobj): File "/usr/share/offlineimap3/offlineimap/imapserver.py", line 371, in __authn_cram_md5 imapobj.authenticate('CRAM-MD5', self.__md5handler) File "/usr/lib/python3/dist-packages/imaplib2.py", line 691, in authenticate typ, dat = self._simple_command('AUTHENTICATE', mechanism.upper()) File "/usr/lib/python3/dist-packages/imaplib2.py", line 1684, in _simple_command return self._command_complete(self._command(name, *args), kw) File "/usr/lib/python3/dist-packages/imaplib2.py", line 1404, in _command literal = literator(data, rqb) File "/usr/lib/python3/dist-packages/imaplib2.py", line 2247, in process ret = self.mech(self.decode(data)) File "/usr/share/offlineimap3/offlineimap/imapserver.py", line 190, in __md5handler hmac.new(bytes(passwd, encoding='utf-8'), challenge, -------------------- -- System Information: Debian Release: bullseye/sid APT prefers testing-debug APT policy: (500, 'testing-debug'), (500, 'testing'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 5.10.0-2-amd64 (SMP w/4 CPU threads) Locale: LANG=de_AT.UTF-8, LC_CTYPE=de_AT.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages offlineimap3 depends on: ii python3 3.9.1-1 ii python3-distro 1.5.0-1 ii python3-imaplib2 2.57-5.2 offlineimap3 recommends no packages. offlineimap3 suggests no packages. -- no debconf information