Dovecot-related error: No remote host

Ian Dalton iain.dalton at gmail.com
Mon Dec 3 15:28:59 UTC 2012


I successfully synced OfflineIMAP using Dovecot last week, but I
dist-upgraded to Debian Sid since, and now it won't sync. Running
./offlineimap.py --info, I get:

    OfflineIMAP 6.5.4
      Licensed under the GNU GPL v2+ (v2 or any later version)
    Remote repository 'Remote': type 'Gmail'
    Host: imap.gmail.com Port: 993 SSL: 1
    Establishing connection to imap.gmail.com:993
    Server supports ID extension.
    Server welcome string: * OK Gimap ready for requests from 184.167.148.39 d15if7816631oad.146
    Server capabilities: ('IMAP4REV1', 'UNSELECT', 'IDLE', 'NAMESPACE', 'QUOTA', 'ID', 'XLIST', 'CHILDREN', 'X-GM-EXT-1', 'UIDPLUS', 'COMPRESS=DEFLATE')

    Folderlist:
    [...snip...]

    Local repository 'Dovecot': type 'MappedIMAP'
    Traceback (most recent call last):
      File "./offlineimap.py", line 23, in <module>
        oi.run()
      File "/home/ian/Applications/offlineimap/offlineimap/init.py", line 46, in run
        self.serverdiagnostics(options)
      File "/home/ian/Applications/offlineimap/offlineimap/init.py", line 391, in serverdiagnostics
        account.serverdiagnostics()
      File "/home/ian/Applications/offlineimap/offlineimap/accounts.py", line 177, in serverdiagnostics
        self.ui.serverdiagnostics(local_repo, 'Local')
      File "/home/ian/Applications/offlineimap/offlineimap/ui/UIBase.py", line 368, in serverdiagnostics
        self._msg("Host: %s Port: %s SSL: %s" % (repository.gethost(),
      File "/home/ian/Applications/offlineimap/offlineimap/repository/IMAP.py", line 116, in gethost
        OfflineImapError.ERROR.REPO)
    offlineimap.error.OfflineImapError: No remote host for repository 'Dovecot' specified.

and ./offlineimap.py -o:

    OfflineIMAP 6.5.4
      Licensed under the GNU GPL v2+ (v2 or any later version)
    Account sync gmail:
     *** Processing account gmail
     Establishing connection to imap.gmail.com:993
     Establishing connection to tunnel:/usr/lib/dovecot/imap
     Creating folder @waiting for[Dovecot]
     Creating folder [Gmail]/All Mail[Dovecot]
     Creating folder school/suu/clubs/cfi[Dovecot]
     Creating folder [Gmail]/Sent Mail[Dovecot]
    [...snip...]
     Creating folder school/suu[Dovecot]
     ERROR: Creating folder school/suu on repository Dovecot
      Folder 'school/suu'[Dovecot] could not be created. Server responded: ('NO', ['[ALREADYEXISTS] Mailbox already exists'])
    imap(ian): Info: Disconnected: Logged out in=721 out=1668
     ERROR: Folder 'school/suu'[Dovecot] could not be created. Server responded: ('NO', ['[ALREADYEXISTS] Mailbox already exists'])
     *** Finished account 'gmail' in 0:17
    ERROR: Exceptions occurred during the run!
    ERROR: Creating folder school/suu on repository Dovecot
      Folder 'school/suu'[Dovecot] could not be created. Server responded: ('NO', ['[ALREADYEXISTS] Mailbox already exists'])
    ERROR: Folder 'school/suu'[Dovecot] could not be created. Server responded: ('NO', ['[ALREADYEXISTS] Mailbox already exists'])

What does this mean? For good measure I deleted ~/Maildir and
~/.offlineimap just before this.

Furthermore, Although OfflineIMAP exits because of an error, it doesn't
set a non-zero exit code.




More information about the OfflineIMAP-project mailing list