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 <[email protected]>:

> 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][email protected]
> >    [2][email protected]/Mbank
> >    [3][email protected]/Citibank
> >    but it does this:
> >     Creating folder account@wp/pl[Gmail-wp]
> >    Creating folder account@wp/pl/Mbank[Gmail-wp]
> >     Creating folder account@wp/pl/Citibank[Gmail-wp]
> >    it changes names from  [4][email protected] to account@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
_______________________________________________
OfflineIMAP-project mailing list: [email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/offlineimap-project

OfflineIMAP homepages:
- https://github.com/OfflineIMAP
- http://offlineimap.org

Reply via email to