Quoting Martin Schuhmann <[email protected]>:

Hi,

in the last few months our users have increasingly reported "IMAP errors" in Horde Webmail".

We are running Horde Webmail on Ubuntu 18.04 with PHP 7.2 against Cyrus IMAP Murder v2.4.19 on SLES15.

Debugging is not easy, because only certain users complain and the server is very busy.

In the Horde-Log I see multiple Errors like this:
HORDE: [imp] [openMailbox] IMAP error reported by server. [pid 27945 on line 730 of "/[...]/horde/imp/lib/Imap.php"]

Is there a possibiltiy to edit horde/imp/lib/Imap.php to see more Information in the Horde-Log with this Exception,
e.g. the logged in user?

In the debug-log for imp it is hard - not possible to find the corresponding IMAP-Actions.
An assumption for the faulty request could possibly be:
"7 UID SEARCH UID
5817,5852,5882,5974,5960,16:21,29:32,39,41:45,47:50,54,56:59,61:63,66:75,77:82,84:92,100:102,115:118,121:126,5990,51,142:149,160:164,174:176,205,97,252:253,258:262,247,324:329,365:369,388:391,406:407,409:416,
 [followed by some thousand more uids]"

which the server acknowledges with:
"7 BAD Invalid Search criteria"

Which action in the horde triggers such a query "UID SEARCH UID" - it usually follows an "UID FETCH" request.

This is most likely from a search operation on a large mailbox while sorting the results client-side. The actual cause of the IMAP error is probably because the command is exceeding the maximum command length of the mail server.


Thanks for your help!
Martin Schuhmann

Horde versions:
# grep "\$version" */lib/Application.php
content/lib/Application.php:    public $version = '2.0.6';
gollem/lib/Application.php:    public $version = 'H5 (3.0.12)';
imp/lib/Application.php:    public $version = 'H5 (6.2.24)';
ingo/lib/Application.php:    public $version = 'H5 (3.2.16)';
kronolith/lib/Application.php:    public $version = 'H5 (4.2.27)';
mnemo/lib/Application.php:    public $version = 'H5 (4.2.14)';
nag/lib/Application.php:    public $version = 'H5 (4.2.19)';
timeobjects/lib/Application.php:    public $version = '2.1.4';
trean/lib/Application.php:    public $version = 'H5 (1.1.9)';
turba/lib/Application.php:    public $version = 'H5 (4.2.25)';

--
Martin Schuhmann
Universität Würzburg * Rechenzentrum
E-Mail: [email protected]
https://go.uniwue.de/schuhmann



--
imp mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: [email protected]



--
mike
The Horde Project
http://www.horde.org
https://www.facebook.com/hordeproject
https://www.twitter.com/hordeproject

Attachment: binR7gTBQpQiI.bin
Description: PGP Public Key

Attachment: pgp5eB95omv6O.pgp
Description: PGP Digital Signature

-- 
imp mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: [email protected]

Reply via email to