[imp] IMAP error reported by server. / UID SEARCH UID - BAD Invalid Search criteria

Martin Schuhmann martin.schuhmann at uni-wuerzburg.de
Fri Sep 11 16:40:51 UTC 2020


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.

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: martin.schuhmann at uni-wuerzburg.de
https://go.uniwue.de/schuhmann
 




More information about the imp mailing list