Since days I get this error message. Both on Mac and Linux.
"The current operation on 'Inbox' did not succeed. The mail server for account [email protected] responded: [UNAVAILABLE] UID FETCH Server error while fetching messages."
Server: imap.mail.yahoo.com
port: 993
user: full email address
SSL/TLS
One single message appears to be causing the error message, as is here shown in the log file (created as specified at wiki.mozilla.org/MailNews:Logging)
Notice in particular UID 4272 appearing normal on the message 234 FETCH line but after all 704 messages in that folder, that UID 4272 shows the [UNAVAILABLE] UID FETCH Server error:
2016-07-18 14:54:11.046000 UTC - 5224[5152e0]: c93b000:imap-mail.outlook.com:S-INBOX:CreateNewLineFromSocket: 9 OK FETCH Completed
2016-07-18 14:54:28.596000 UTC - 3476[511140]: proposed url = {NameOfMySubfolderInYahooMail} folder for connection INBOX has To Wait = FALSE can run = FALSE
2016-07-18 14:54:28.596000 UTC - 3476[511140]: proposed url = {NameOfMySubfolderInYahooMail} folder for connection Sent has To Wait = FALSE can run = FALSE
2016-07-18 14:54:28.596000 UTC - 3476[511140]: c94e800:imap.mail.yahoo.com:NA:SetupWithUrl: clearing IMAP_CONNECTION_IS_OPEN
2016-07-18 14:54:28.612000 UTC - 5408[b472ef0]: ImapThreadMainLoop entering [this=c94e800]
2016-07-18 14:54:28.612000 UTC - 5408[b472ef0]: c94e800:imap.mail.yahoo.com:NA:ProcessCurrentURL: entering
2016-07-18 14:54:28.612000 UTC - 5408[b472ef0]: c94e800:imap.mail.yahoo.com:NA:ProcessCurrentURL:imap://{NameOfMyYahooMail}@imap.mail.yahoo.com:993/select%3E/{NameOfMySubfolderInYahooMail}: = currentUrl
2016-07-18 14:54:29.080000 UTC - 5408[b472ef0]: ReadNextLine [stream=c3517e0 nb=249 needmore=0]
2016-07-18 14:54:29.080000 UTC - 5408[b472ef0]: c94e800:imap.mail.yahoo.com:NA:CreateNewLineFromSocket: * OK [CAPABILITY IMAP4rev1 ID MOVE 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.20166
2016-07-18 14:54:29.080000 UTC - 5408[b472ef0]: try to log in
2016-07-18 14:54:29.080000 UTC - 5408[b472ef0]: IMAP auth: server caps 0x840007627, pref 0x1006, failed 0x0, avail caps 0x1006
2016-07-18 14:54:29.080000 UTC - 5408[b472ef0]: (GSSAPI = 0x1000000, CRAM = 0x20000, NTLM = 0x100000, MSN = 0x200000, PLAIN = 0x1000,
LOGIN = 0x2, old-style IMAP login = 0x4, auth external IMAP login = 0x20000000, OAUTH2 = 0x800000000)
2016-07-18 14:54:29.080000 UTC - 5408[b472ef0]: trying auth method 0x1000
2016-07-18 14:54:29.080000 UTC - 5408[b472ef0]: got new password
2016-07-18 14:54:29.080000 UTC - 5408[b472ef0]: IMAP: trying auth method 0x1000
2016-07-18 14:54:29.080000 UTC - 5408[b472ef0]: PLAIN auth
2016-07-18 14:54:29.080000 UTC - 5408[b472ef0]: c94e800:imap.mail.yahoo.com:NA:SendData: 1 authenticate plain
2016-07-18 14:54:29.142000 UTC - 5408[b472ef0]: ReadNextLine [stream=c3517e0 nb=4 needmore=0]
2016-07-18 14:54:29.142000 UTC - 5408[b472ef0]: c94e800:imap.mail.yahoo.com:NA:CreateNewLineFromSocket: +
2016-07-18 14:54:29.142000 UTC - 5408[b472ef0]: c94e800:imap.mail.yahoo.com:NA:SendData: Logging suppressed for this command (it probably contained authentication information)
2016-07-18 14:54:29.735000 UTC - 5408[b472ef0]: ReadNextLine [stream=c3517e0 nb=66 needmore=0]
2016-07-18 14:54:29.735000 UTC - 5408[b472ef0]: c94e800:imap.mail.yahoo.com:NA:CreateNewLineFromSocket: 1 OK AUTHENTICATE completed - Mailbox size in bytes is 938040699
2016-07-18 14:54:29.735000 UTC - 5408[b472ef0]: login succeeded
2016-07-18 14:54:29.735000 UTC - 5408[b472ef0]: c94e800:imap.mail.yahoo.com:A:SendData: 2 ID ("name" "Thunderbird" "version" "45.2.0")
2016-07-18 14:54:29.922000 UTC - 5408[b472ef0]: ReadNextLine [stream=c3517e0 nb=184 needmore=0]
2016-07-18 14:54:29.922000 UTC - 5408[b472ef0]: c94e800:imap.mail.yahoo.com:A:CreateNewLineFromSocket: * ID ("remote-host" "{IPx.xxx.xxx.xxx}" "vendor" "Yahoo! Inc." "support-url" "http://help.yahoo.com/%22 "name" "Y!IMAP" "host" "sky200028.mail.ne1.yahoo.com" "via" "/10.200.65.21:17011")
2016-07-18 14:54:29.922000 UTC - 5408[b472ef0]: ReadNextLine [stream=c3517e0 nb=19 needmore=0]
2016-07-18 14:54:29.922000 UTC - 5408[b472ef0]: c94e800:imap.mail.yahoo.com:A:CreateNewLineFromSocket: 2 OK ID completed
2016-07-18 14:54:29.922000 UTC - 5408[b472ef0]: c94e800:imap.mail.yahoo.com:A:SendData: 3 select "{NameOfMySubfolderInYahooMail}"
2016-07-18 14:54:30.094000 UTC - 5408[b472ef0]: ReadNextLine [stream=c3517e0 nb=14 needmore=0]
2016-07-18 14:54:30.094000 UTC - 5408[b472ef0]: c94e800:imap.mail.yahoo.com:A:CreateNewLineFromSocket: * 704 EXISTS
2016-07-18 14:54:30.094000 UTC - 5408[b472ef0]: ReadNextLine [stream=c3517e0 nb=12 needmore=0]
2016-07-18 14:54:30.094000 UTC - 5408[b472ef0]: c94e800:imap.mail.yahoo.com:A:CreateNewLineFromSocket: * 0 RECENT
2016-07-18 14:54:30.094000 UTC - 5408[b472ef0]: ReadNextLine [stream=c3517e0 nb=42 needmore=0]
2016-07-18 14:54:30.094000 UTC - 5408[b472ef0]: c94e800:imap.mail.yahoo.com:A:CreateNewLineFromSocket: * OK [UIDVALIDITY 1452936443] UIDs valid
2016-07-18 14:54:30.094000 UTC - 5408[b472ef0]: ReadNextLine [stream=c3517e0 nb=40 needmore=0]
2016-07-18 14:54:30.094000 UTC - 5408[b472ef0]: c94e800:imap.mail.yahoo.com:A:CreateNewLineFromSocket: * OK [UIDNEXT 5833] Predicted next UID
2016-07-18 14:54:30.094000 UTC - 5408[b472ef0]: ReadNextLine [stream=c3517e0 nb=78 needmore=0]
2016-07-18 14:54:30.094000 UTC - 5408[b472ef0]: c94e800:imap.mail.yahoo.com:A:CreateNewLineFromSocket: * FLAGS (\Answered \Deleted \Draft \Flagged \Seen $Forwarded $Junk $NotJunk)
2016-07-18 14:54:30.094000 UTC - 5408[b472ef0]: ReadNextLine [stream=c3517e0 nb=108 needmore=0]
2016-07-18 14:54:30.094000 UTC - 5408[b472ef0]: c94e800:imap.mail.yahoo.com:A:CreateNewLineFromSocket: * OK [PERMANENTFLAGS (\Answered \Deleted \Draft \Flagged \Seen $Forwarded $Junk $NotJunk)] Permanent flags
2016-07-18 14:54:30.094000 UTC - 5408[b472ef0]: ReadNextLine [stream=c3517e0 nb=42 needmore=0]
2016-07-18 14:54:30.094000 UTC - 5408[b472ef0]: c94e800:imap.mail.yahoo.com:A:CreateNewLineFromSocket: * OK [HIGHESTMODSEQ 6308652765868620464]
2016-07-18 14:54:30.094000 UTC - 5408[b472ef0]: ReadNextLine [stream=c3517e0 nb=59 needmore=0]
2016-07-18 14:54:30.094000 UTC - 5408[b472ef0]: c94e800:imap.mail.yahoo.com:A:CreateNewLineFromSocket: 3 OK [READ-WRITE] SELECT completed; now in selected state
2016-07-18 14:54:30.094000 UTC - 5408[b472ef0]: c94e800:imap.mail.yahoo.com:S-{NameOfMySubfolderInYahooMail}:SendData: 4 UID fetch 1:* (FLAGS)
2016-07-18 14:54:30.297000 UTC - 5408[b472ef0]: ReadNextLine [stream=c3517e0 nb=36 needmore=0]
2016-07-18 14:54:30.297000 UTC - 5408[b472ef0]: c94e800:imap.mail.yahoo.com:S-{NameOfMySubfolderInYahooMail}:CreateNewLineFromSocket: * 1 FETCH (FLAGS (\Seen) UID 3785)
2016-07-18 14:54:30.297000 UTC - 5408[b472ef0]: ReadNextLine [stream=c3517e0 nb=36 needmore=0]
2016-07-18 14:54:30.297000 UTC - 5408[b472ef0]: c94e800:imap.mail.yahoo.com:S-{NameOfMySubfolderInYahooMail}:CreateNewLineFromSocket: * 2 FETCH (FLAGS (\Seen) UID 3786)
[... 3 FETCH until 232 FETCH here omitted...]
2016-07-18 14:54:30.312000 UTC - 5408[b472ef0]: ReadNextLine [stream=c3517e0 nb=38 needmore=0]
2016-07-18 14:54:30.312000 UTC - 5408[b472ef0]: c94e800:imap.mail.yahoo.com:S-{NameOfMySubfolderInYahooMail}:CreateNewLineFromSocket: * 233 FETCH (FLAGS (\Seen) UID 4271)
2016-07-18 14:54:30.312000 UTC - 5408[b472ef0]: ReadNextLine [stream=c3517e0 nb=47 needmore=0]
2016-07-18 14:54:30.312000 UTC - 5408[b472ef0]: c94e800:imap.mail.yahoo.com:S-{NameOfMySubfolderInYahooMail}:CreateNewLineFromSocket: * 234 FETCH (FLAGS (\Seen $NotJunk) UID 4272)
2016-07-18 14:54:30.312000 UTC - 5408[b472ef0]: ReadNextLine [stream=c3517e0 nb=47 needmore=0]
2016-07-18 14:54:30.312000 UTC - 5408[b472ef0]: c94e800:imap.mail.yahoo.com:S-{NameOfMySubfolderInYahooMail}:CreateNewLineFromSocket: * 235 FETCH (FLAGS (\Seen $NotJunk) UID 4273)
[... 236 FETCH until 703 FETCH here omitted...]
2016-07-18 14:54:30.484000 UTC - 5408[b472ef0]: ReadNextLine [stream=c3517e0 nb=47 needmore=0]
2016-07-18 14:54:30.484000 UTC - 5408[b472ef0]: c94e800:imap.mail.yahoo.com:S-{NameOfMySubfolderInYahooMail}:CreateNewLineFromSocket: * 704 FETCH (FLAGS (\Seen $NotJunk) UID 5832)
2016-07-18 14:54:30.484000 UTC - 5408[b472ef0]: ReadNextLine [stream=c3517e0 nb=26 needmore=0]
2016-07-18 14:54:30.484000 UTC - 5408[b472ef0]: c94e800:imap.mail.yahoo.com:S-{NameOfMySubfolderInYahooMail}:CreateNewLineFromSocket: 4 OK UID FETCH completed
2016-07-18 14:54:30.500000 UTC - 5408[b472ef0]: c94e800:imap.mail.yahoo.com:S-{NameOfMySubfolderInYahooMail}:SendData: 5 UID fetch 4272 (UID RFC822.SIZE FLAGS BODY.PEEK[HEADER.FIELDS (From To Cc Bcc Subject Date Message-ID Priority X-Priority References Newsgroups In-Reply-To Content-Type Reply-To)])
2016-07-18 14:54:30.734000 UTC - 5408[b472ef0]: ReadNextLine [stream=c3517e0 nb=67 needmore=0]
2016-07-18 14:54:30.734000 UTC - 5408[b472ef0]: c94e800:imap.mail.yahoo.com:S-{NameOfMySubfolderInYahooMail}:CreateNewLineFromSocket: 5 NO [UNAVAILABLE] UID FETCH Server error while fetching messages
2016-07-18 14:54:41.264000 UTC - 3476[511140]: proposed url = Deleted folder for connection INBOX has To Wait = FALSE can run = FALSE
2016-07-18 14:54:41.264000 UTC - 1924[b4729b0]: ImapThreadMainLoop entering [this=cf99800]
2016-07-18 14:54:41.264000 UTC - 3476[511140]: cf99800:imap-mail.outlook.com:NA:SetupWithUrl: clearing IMAP_CONNECTION_IS_OPEN
2016-07-18 14:54:41.264000 UTC - 1924[b4729b0]: cf99800:imap-mail.outlook.com:NA:ProcessCurrentURL: entering
2016-07-18 14:54:41.264000 UTC - 1924[b4729b0]: cf99800:imap-mail.outlook.com:NA:ProcessCurrentURL:imap://{ANOTHER-EMAIL-NOT-YAHOO}@imap-mail.outlook.com:993/folderstatus%3E/Deleted: = currentUrl
Perhaps someone can now suggest which is causing that error. It is always that UID of line 234, and only that one. All other subfolders of the same Yahoo account (and all other email accounts) get in Thunderbird without a glitch.
Hi there,
I do not know the cause, but I was able to stop the message, by archiving the inbox content.
After moving the old message to archive you have to diable disable the offline synchronization for archive folder.
>>> account settings > synchronization and storage >>> advance >> uncheck archive for your account settings.
I'm not sure, although TB support imap, it seems it has some limitations in TB in fetching folder content.
Note: this fix works perfectly on Yahoo free account.
may 07, 2013
It is possible, however I don't know for sure