IMAP problem for “Yahoo” account
Reported by Bhagwati Gupta | September 15th, 2017 @ 05:46 PM
Hi Benny: Since upgrading to r5413 release earlier this week, I am having a huge issue with my Yahoo account. Every few minutes a window pops up complaining about an IMAP problem. An example of the message is below.
MailMate encountered the following error: “Detected
mismatch in UIDs received from server (previous value: 210672, new
value: 210671).”.
Mailbox: “Trash”.
The only way to continue working is by selecting the 'Try Later' option (only to see the message again a little later) or keep the account offline. Nothing else has changed on my mac so not sure how to resolve it. Quite frustrating.
My system: MailMate/5413 MacBookPro11,1/x86_64/4/10.12.6
Thanks for any solution.
BG
Comments and changes to this ticket
-
benny September 16th, 2017 @ 01:23 PM
This is most likely a server bug. Doesn't MailMate offer you to keep the mailbox offline and not the entire account?
In any case, we can generate some logs to confirm that the server is to blame. Do as follows:
- Open the Activity Viewer (⌥⌘0).
- Trigger the issue.
- Use “Help ▸ Send Server Logs”.
Then I'll review it and see if there is anything I can do.
-
Richard Chick September 16th, 2017 @ 02:10 PM
I am now having the same problem as Bhagwati. When I first enabled my Yahoo account with the proper 2nd level authorization all seemed well. Then a couple of days ago I started receiving the attached error message (except the numbers reported were 80800 and 80808. I tried reestablishing the account with a new 2nd level password but received the same message and took the attached snapshot.
I opened the activity monitor and attempted to send server logs but could not complete the process because MailMate was hung in the error state and prevented pulling down the help menu to create the server logs.
Apple Mail is not affected and continues to receive Yahoo Mail correctly.
-
Richard Chick September 16th, 2017 @ 02:14 PM
I don't know why the tiff image I uploaded is being marked "unprocessed" but the text of the error message is below.
MailMate encountered the following error: “Detected mismatch in UIDs received from server (previous value: 80807, new value: 80809).”.
Mailbox: “Inbox”. -
benny September 17th, 2017 @ 12:22 PM
- State changed from new to accepted
I got logs from Bhagwati and I can confirm that the trigger is a Yahoo bug (I've seen it in the past as well). This is what happens:
02:07:53 C: C5 UID FETCH 1:* (UID) 02:08:05 S: * 1 FETCH (UID 210687) 02:08:05 S: * 2 FETCH (UID 210688) 02:08:05 S: C5 OK UID FETCH completed 02:08:05 C: C6 UID FETCH 210689:* (INTERNALDATE) 02:08:06 S: * 2 FETCH (UID 210687 INTERNALDATE "16-Sep-2017 18:20:45 +0000") 02:08:06 Error: Detected mismatch in UIDs received from server (previous value: 210688, new value: 210687).
When synchronizing the mailbox MailMate uses some standard techniques to check for deleted messages and new messages. In this process message number 2 is detected twice:
02:08:05 S: * 2 FETCH (UID 210688) ... 02:08:06 S: * 2 FETCH (UID 210687 INTERNALDATE "16-Sep-2017 18:20:45 +0000")
The problem is that it has different UID values the first and second time. This is a major server bug and it could make some email clients to do all kinds of wrong things including deleting the wrong message if asked to delete a message.
I usually try to deal with issues like this by finding some way to work around it, but this is a bit tricky in this case. I'm guessing the second response is wrong and I probably could let MailMate ignore it, but I cannot be 100% sure. Nevertheless this is probably the way to go. It'll just have to be in a way where I clearly warn the user about the possible ramifications.
Why does Apple Mail work? It doesn't trigger the server bug or it doesn't detect it. The first is fine, the latter would be really bad.
I'll get back to you when I've got some kind of workaround ready to test.
-
benny September 18th, 2017 @ 11:25 AM
I've implemented a manual workaround which you need to enable. Try this:
defaults write com.freron.MailMate MmYahooMismatchWorkaroundEnabled -bool YES
This is just to see if the workaround itself works. If it does then I'll think about how it can be automated or the user can be asked to allow it to be enabled.
You are welcome to send me logs even if this works. I'd like to see if it behaves as expected.
Hold down ⌥ when clicking “Check Now” in the Software Update preferences pane to get a test release.
-
benny October 4th, 2017 @ 01:46 PM
- State changed from accepted to fixcommitted
Hold down ⌥ when clicking “Check Now” in the Software Update preferences pane to get another test release.
I've gotten more examples of this server bug and I'm no longer confident that the workaround is always safe. I've tried to improve it in the latest test release though.
It's probably the best I can do.
- Use the workaround at your own risk.
- Report the issue to Yahoo.
- If you like, read more about the issue here.
Thanks for the report and the examples!
-
Bhagwati Gupta October 4th, 2017 @ 03:41 PM
Hi Benny,
THANK YOU for your efforts in getting this issue resolved. The new update r5423 seems to have eliminated the error message (no pop up so far!). It is important that the bug is reported to Yahoo which I did by going on the following page, selecting NO to question 'Was this article helpful?' and then option 'Other'. This opens a message box. I referred them to your discussion page.
https://help.yahoo.com/kb/mail-for-desktop/send-receive-yahoo-email...
BG
-
benny October 4th, 2017 @ 04:21 PM
@Bhagwati: That was a good idea. I'm guessing, if the same issue is reported frequently then somebody might listen.
-
benny October 6th, 2017 @ 08:51 AM
I've been contacted by Yahoo (because of my blog post. They would like to have some example accounts and therefore I'm asking you to send me your Yahoo email addresses via “Help ▸ Send Feedback” and give me permission to pass them on.
Thanks in advance!
-
benny October 7th, 2017 @ 05:24 AM
Thanks for your email addresses. I'm still in contact with Yahoo and they don't currently see any issues with your accounts. To confirm this I'd like you to disable the most recent workaround implemented:
defaults delete com.freron.MailMate MmYahooMismatchWorkaroundEnabled
Relaunch MailMate and if you see the issue again then send me some logs as described earlier in this ticket.
Thanks in advance!
-
Bhagwati Gupta October 11th, 2017 @ 06:23 PM
Hi Benny: Something happened since the last Mailmate update (r5423) that I am no longer seeing popup errors for the Yahoo account. I followed your suggestion to disable the workaround but everything seems to be fine now, even after restarting the program more than once in the last few days. Yahoo mails are syncing fine. Not sure what changed and what fixed the issue. Thanks for all your efforts.
-
benny October 11th, 2017 @ 06:42 PM
@Bhagwati: According to the people at Yahoo, they fixed a related bug last week. Hopefully this means that the problem is gone for good.
-
George Neville-Neil December 1st, 2018 @ 02:40 PM
For what it's worth. This occurred for me just now. The workaround still works, but just so you know that it may start being reported again.
-
benny December 1st, 2018 @ 02:47 PM
@George: I guess the bug is back since I also got a report by direct feedback. For now, I'll refer to my original page on this issue: https://github.com/mailmate/mailmate_manual/wiki/Yahoo
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
Mac OS X email client.