No description
Patch by Nye Liu <nyet@nyet.org> to fix Debian bug #830889 [1]. Dear Maintainer, Outlook Office365 IMAP servers now expect a client to issue at least one EXAMINE before STATUS, or UNSEEN is always zero: "unsub" folder has two messages, one unseen. Broken: 56:04.84 > CJFK1 LOGIN "nyet@xxx" "xxx" 56:21.99 < CJFK1 OK LOGIN completed. 56:21.99 > CJFK2 STATUS unsub (MESSAGES UNSEEN) 56:22.20 < * STATUS unsub (MESSAGES 2 UNSEEN 0) 56:22.20 < CJFK2 OK STATUS completed. Works: 56:46.04 > BPEB1 LOGIN "nyet@xxx" "xxx" 56:51.43 < BPEB1 OK LOGIN completed. 56:51.43 > BPEB2 EXAMINE unsub 56:51.67 < * 2 EXISTS 56:51.67 < * 0 RECENT 56:51.67 < * FLAGS (\Seen \Answered \Flagged \Deleted \Draft $MDNSent) 56:51.67 < * OK [PERMANENTFLAGS ()] Permanent flags 56:51.67 < * OK [UNSEEN 2] Is the first unseen message 56:51.67 < * OK [UIDVALIDITY 164] UIDVALIDITY value 56:51.67 < * OK [UIDNEXT 16] The next unique identifier value 56:51.67 < BPEB2 OK [READ-ONLY] EXAMINE completed. 56:51.67 > BPEB3 STATUS unsub (MESSAGES UNSEEN) 56:51.89 < * STATUS unsub (MESSAGES 2 UNSEEN 1) 56:51.89 < BPEB3 OK STATUS completed. Attached is a patch to always issue EXAMINE before a STATUS. It doesn't seem like it has to be done before every STATUS, just at least once. Is only a proof of concept. I don't presume to know the best way to handle optimizing it. [1] https://bugs.debian.org/830889 |
||
|---|---|---|
| AlsaMixer.app | ||
| libdockapp | ||
| Temperature.app | ||
| wmacpi | ||
| wmacpiload | ||
| wmauda | ||
| wmbatteries | ||
| wmbattery | ||
| wmbiff | ||
| wmbutton | ||
| wmcalc | ||
| wmCalClock | ||
| wmcalendar | ||
| wmcdplay | ||
| wmckgmail | ||
| wmcliphist | ||
| wmclock | ||
| wmcpufreq | ||
| wmcpuload | ||
| wmfemon | ||
| wmfsm | ||
| wmfu | ||
| wmget | ||
| wmifinfo | ||
| wmifs | ||
| wmitime | ||
| wmix | ||
| wmkeys | ||
| wmload | ||
| wmMatrix | ||
| wmmemload | ||
| wmmenu | ||
| wmmixer | ||
| wmmixer-alsa | ||
| wmmon | ||
| wmmoonclock | ||
| wmnet | ||
| wmnotify | ||
| wmpager | ||
| wmpower | ||
| wmppp.app | ||
| wmshutdown | ||
| wmsm.app | ||
| wmsmixer | ||
| wmSMPmon | ||
| wmsun | ||
| wmsupermon | ||
| wmtime | ||
| wmtop | ||
| wmtv | ||
| wmtz | ||
| wmWeather | ||
| wmwifi | ||
| wmwlmon | ||
| dockapps.db.in | ||
| update-dockapps.pl | ||