Package: php-horde-imap-client
Version: 2.29.16-1
Severity: grave
Dear maintainer,
A server uses courier-imap and php-horde-imp to read e-mail. After
upgrading the server from Stretch to Buster, reading e-mail does not
work anymore; the mailboxes show no e-mails, and a message "IMAP error
reported by server." is shown.
Analysis of the IMAP interaction between php-horde-imp and courier-imap shows:
C: 6 UID SORT (ARRIVAL) ALL
S: 6 NO Error in IMAP command received by server.
Command 6 took 0.0002 seconds.
I suspect this problem is caused by the fact that the new courier-imap
supports UTF-8 IMAP (see [1]) and php-horde-imap-client incorrectly
does not include the charset (being UTF-8) in the UID SORT command.
The proper IMAP command should have been:
6 UID SORT (ARRIVAL) UTF-8 ALL
It looks like this defect in php-horde-imap-client has been resolved
upstream; see [2].
In my opinion, this renders php-horde-imp in Buster pretty much
unusable. Is there any chance this upstream fix can be applied to
Buster?
[1]
https://fossies.org/linux/misc/courier-imap-5.0.8.tar.bz2/courier-imap-5.0.8/libs/imap/ChangeLog?m=t
[2]
https://github.com/horde/Imap_Client/commit/48c4f50b78e4146c7e9a0756b5c7de77ffbb551d