Affected version(s): pre 7.10.6
Mail Sync using EAS does not work anymore. The Open-Xchange Logfile shows:
com.openexchange.usm.eas.servlet.EASServlet.handle Request(EASServlet.java:471) Open-Xchange USM/EAS: Internal server error |
setting Loglevel to DEBUG reveals the following error:
"Range too big. Only identifiers are allowed to be queried with a range greater than/equal to 1000" |
Root Cause
Since Open-Xchange App Suite 7.10.6-rev24 com.openexchange.mail.mailFetchLimit which defines the max. fetch limit (meaning all mails whose count is less than or equal to this value are going to be fetched with all attributes set) is set to 1000 by default. All subsequent mail fetch limits with all attributes set by other subsystems (like com.openexchange.mail.mailFetchLimit for EAS) should not exceed this value - otherwise an error will be thrown if the amount of mails fetched through the respective subsystem will exceed this limit.
Most probably you have set com.openexchange.usm.eas.mail.limit to unlimited (0) or to a value >= 1000 while having com.openexchange.mail.mailFetchLimit not set at all (default value 1000 becomes active).
Related articles appear here based on the labels you select. Click to edit the macro and add or change labels.
|