OfflineIMAP / offlineimap

Read/sync your IMAP mailboxes (python2) [LEGACY: move to offlineimap3]
http://www.offlineimap.org
Other
1.78k stars 360 forks source link

[GMAIL] Server responded: NO [b'System Error (Failure)'] #682

Closed fragtion closed 4 years ago

fragtion commented 4 years ago

Hi

I'm seeing this error with both offlineimap and offlineimap3 when trying to sync with Gmail remote repo. It's been like this for a few days. I'm still getting my mails, but the error seems pretty alarming...

Folder INBOX [acc: fraggie@gmail.com]:
 Copy message UID 136358 (1/1) remote:INBOX -> local:INBOX
Copy message from remote:INBOX:
 ERROR: IMAP server 'remote' failed to fetch messages UID '136358'. Server responded: NO [b'System Error (Failure)']
Account sync fraggie@gmail.com:
 *** Finished account 'fraggie@gmail.com' in 0:16
ERROR: Exceptions occurred during the run!
ERROR: IMAP server 'remote' failed to fetch messages UID '136358'. Server responded: NO [b'System Error (Failure)']

Traceback:
  File "/usr/store1/usr/local/src/offlineimap/offlineimap3-master/offlineimap/folder/Base.py", line 850, in copymessageto
    message = self.getmessage(uid)
  File "/usr/store1/usr/local/src/offlineimap/offlineimap3-master/offlineimap/folder/Gmail.py", line 69, in getmessage
    data = self._fetch_from_imap(str(uid), self.retrycount)
  File "/usr/store1/usr/local/src/offlineimap/offlineimap3-master/offlineimap/folder/IMAP.py", line 838, in _fetch_from_imap
    raise OfflineImapError(reason, severity)

Does this mean that the UID exists on the server but Gmail refuses to share it (seems unlikely?), or that there is a problem with the local sqlite index causing offlineimap to request a UID which doesn't exist?..

How best to approach this?

fragtion commented 4 years ago

This may be related: https://support.google.com/mail/thread/69787886?hl=en

Similar but much older report: https://markmail.org/thread/qqvloo7vnom7sssi

Seems like it's not an offlineimap issue after all

nicolas33 commented 4 years ago

You're correct. The server says "System Error (Failure)". So, this really looks like something is going wrong on the server.