offlineimap stop working after update

Wojciech Żuk wojciech.zuk at gmail.com
Mon Jul 17 10:58:17 UTC 2017


I have these errors, when running offlineimap:

PLAIN authentication failed: command: AUTHENTICATE => socket error: <type
'exceptions.IOError'> - Too many read 0
 LOGIN authentication failed: connection closed
 ERROR: All authentication types failed:
        PLAIN: command: AUTHENTICATE => socket error: <type
'exceptions.IOError'> - Too many read 0
        LOGIN: connection closed

ERROR: Exceptions occurred during the run!
ERROR: All authentication types failed:
        PLAIN: command: AUTHENTICATE => socket error: <type
'exceptions.IOError'> - Too many read 0
        LOGIN: connection closed

Traceback:
  File "/usr/share/offlineimap/offlineimap/accounts.py", line 278, in
syncrunner
    self.__sync()
  File "/usr/share/offlineimap/offlineimap/accounts.py", line 342, in __sync
    localrepos.getfolders()
  File "/usr/share/offlineimap/offlineimap/repository/IMAP.py", line 452,
in getfolders
    imapobj = self.imapserver.acquireconnection()
  File "/usr/share/offlineimap/offlineimap/imapserver.py", line 540, in
acquireconnection
    self.__authn_helper(imapobj)
  File "/usr/share/offlineimap/offlineimap/imapserver.py", line 415, in
__authn_helper
    "failed:\n\t%s"% msg, OfflineImapError.ERROR.REPO)


how to troubleshoot this?


2017-07-16 22:54 GMT+02:00 Nicolas Sebrecht <nicolas.s-dev at laposte.net>:

> On Sun, Jul 16, 2017 at 08:06:36PM +0200, Wojciech Żuk wrote:
>
> >    as you can see I have in my config reverse nametrans rules, my config
> is
> >    OK as it worked over a last year before offlineimap upgrade
>
> Sorry, I didn't read the rules because they are badly rendered and
> formated due to the HTML format of the emails.
>
> >     I found something:
> >    when I hash this on remote-repository:
> >    #createfolders = false
> >    then offlineimap start to create on Gmail side folders but with
> different
> >    names that it should:
> >    [1]account at wp.pl
> >    [2]account at wp.pl/Mbank
> >    [3]account at wp.pl/Citibank
> >    but it does this:
> >     Creating folder account at wp/pl[Gmail-wp]
> >    Creating folder account at wp/pl/Mbank[Gmail-wp]
> >     Creating folder account at wp/pl/Citibank[Gmail-wp]
> >    it changes names from  [4]account at wp.pl to account at wp/pl
> >    something is wrong with unicode or characters encoding?
>
> The dot is the default local separator and the slash is the usual IMAP
> separator. When translated back to the remote name, the local separators
> are updated to the remote separators. Hence, each dot becomes a slash
> when synced back on remote.
>
> The separator character is highly discouraged and not supported in the
> folder names when using nametrans with reversed nametrans rules.
> Offlineimap has no way to know it's the literal char as-is or the
> separator char that must be translated.
>
> --
> Nicolas Sebrecht
>



-- 
Pozdrawiam
Wojtek Żuk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/offlineimap-project/attachments/20170717/e62b0bac/attachment.html>


More information about the OfflineIMAP-project mailing list