[offlineimap] ERROR in syncfolder for yahoo folder Inbox: abort: command: SEARCH => connection terminated (#158)

peterski007 notifications at github.com
Sat Jan 17 14:01:03 GMT 2015


I separated the Gmail acount out from the config file leaving only the Yahoo account and the output from offlineimap --info -c yahoo.config is:

OfflineIMAP 6.5.7-rc1
  Licensed under the GNU GPL v2 or any later version (with an OpenSSL exception)
Remote repository 'yahoo-remote': type 'IMAP'
Host: imap.mail.yahoo.com Port: 993 SSL: True
Establishing connection to imap.mail.yahoo.com:993
Server supports ID extension.
Server welcome string: * OK [CAPABILITY IMAP4rev1 ID NAMESPACE X-ID-ACLID UIDPLUS LITERAL+ CHILDREN XAPPLEPUSHSERVICE XYMHIGHESTMODSEQ AUTH=PLAIN AUTH=LOGIN AUTH=XOAUTH2 AUTH=XYMCOOKIE AUTH=XYMECOOKIE AUTH=XYMCOOKIEB64 AUTH=XYMPKI] IMAP4rev1 imapgate-1.8.1_01.61594 imap434.mail.ir2.yahoo.com
Server capabilities: ('IMAP4REV1', 'ID', 'NAMESPACE', 'X-ID-ACLID', 'UIDPLUS', 'LITERAL+', 'XAPPLEPUSHSERVICE', 'XYMHIGHESTMODSEQ')

folderfilter= lambda foldername: foldername in ['Inbox', 'Drafts', 'Sent', 'Spam', 'Notes', 'Archive']

Folderlist:
 Archive
 Bulk Mail (disabled)
 Deleted Messages (disabled)
 Draft (disabled)
 Drafts
 Inbox
 Junk (disabled)
 Junk E-mail (disabled)
 Notes
 Sent
 Sent Messages (disabled)
 Trash (disabled)
 Y! Conversations (disabled)

Local repository 'yahoo-local': type 'Maildir'
Folderlist:
 Archive
 Drafts
 Inbox
 Junk E-mail
 Notes
 Sent
 Trash

A sync using `` offlineimap -c yahoo.config -o -a yahoo`` is still the same:

OfflineIMAP 6.5.7-rc1
  Licensed under the GNU GPL v2 or any later version (with an OpenSSL exception)
Account sync yahoo:
 *** Processing account yahoo
 Establishing connection to imap.mail.yahoo.com:993
Folder Archive [acc: yahoo]:
 Syncing Archive: IMAP -> Maildir
Folder Drafts [acc: yahoo]:
 Syncing Drafts: IMAP -> Maildir
Folder Inbox [acc: yahoo]:
 Syncing Inbox: IMAP -> Maildir
 ERROR: ERROR in syncfolder for yahoo folder Inbox: Traceback (most recent call last):
  File "/Library/Python/2.7/site-packages/offlineimap/accounts.py", line 449, in syncfolder
    remotefolder.cachemessagelist()
  File "/Library/Python/2.7/site-packages/offlineimap/folder/IMAP.py", line 216, in cachemessagelist
    msgsToFetch = self._msgs_to_fetch(imapobj)
  File "/Library/Python/2.7/site-packages/offlineimap/folder/IMAP.py", line 193, in _msgs_to_fetch
    res_type, res_data = imapobj.search(None, search_cond)
  File "/Library/Python/2.7/site-packages/offlineimap/imaplib2.py", line 975, in search
    return self._simple_command(name, *criteria, **kw)
  File "/Library/Python/2.7/site-packages/offlineimap/imaplib2.py", line 1616, in _simple_command
    return self._command_complete(self._command(name, *args), kw)
  File "/Library/Python/2.7/site-packages/offlineimap/imaplib2.py", line 1379, in _command_complete
    typ, dat = rqb.get_response('command: %s => %%s' % rqb.name)
  File "/Library/Python/2.7/site-packages/offlineimap/imaplib2.py", line 177, in get_response
    raise typ(exc_fmt % str(val))
abort: command: SEARCH => connection terminated

  command: SEARCH => connection terminated
Folder Notes [acc: yahoo]:
 Syncing Notes: IMAP -> Maildir
 Establishing connection to imap.mail.yahoo.com:993
Folder Sent [acc: yahoo]:
 Syncing Sent: IMAP -> Maildir
Account sync yahoo:
 *** Finished account 'yahoo' in 0:06
ERROR: Exceptions occurred during the run!
ERROR: ERROR in syncfolder for yahoo folder Inbox: Traceback (most recent call last):
  File "/Library/Python/2.7/site-packages/offlineimap/accounts.py", line 449, in syncfolder
    remotefolder.cachemessagelist()
  File "/Library/Python/2.7/site-packages/offlineimap/folder/IMAP.py", line 216, in cachemessagelist
    msgsToFetch = self._msgs_to_fetch(imapobj)
  File "/Library/Python/2.7/site-packages/offlineimap/folder/IMAP.py", line 193, in _msgs_to_fetch
    res_type, res_data = imapobj.search(None, search_cond)
  File "/Library/Python/2.7/site-packages/offlineimap/imaplib2.py", line 975, in search
    return self._simple_command(name, *criteria, **kw)
  File "/Library/Python/2.7/site-packages/offlineimap/imaplib2.py", line 1616, in _simple_command
    return self._command_complete(self._command(name, *args), kw)
  File "/Library/Python/2.7/site-packages/offlineimap/imaplib2.py", line 1379, in _command_complete
    typ, dat = rqb.get_response('command: %s => %%s' % rqb.name)
  File "/Library/Python/2.7/site-packages/offlineimap/imaplib2.py", line 177, in get_response
    raise typ(exc_fmt % str(val))
abort: command: SEARCH => connection terminated

  command: SEARCH => connection terminated 

---
Reply to this email directly or view it on GitHub:
https://github.com/OfflineIMAP/offlineimap/issues/158#issuecomment-70367998
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/offlineimap-project/attachments/20150117/f55dc899/attachment-0003.html>


More information about the OfflineIMAP-project mailing list