Yesterday I updated the core and something else, either mail or roundcubemail, I don’t remember.
Anyhow, now the latest mail 1.7.6 and roundcubemail 2.1.1 are installed.
Problem:
When I search something with an accent in it, like á, the following error message appears:
Server Error: UID SEARCH: Error in IMAP command UID SEARCH: Missing LF after literal size (0.001 + 0.000 secs).
Earlier we had no problem.
Just by some other PHP project earlier, I was thinking about maybe something with multibyte replace somewhere? Or maybe something completely different.
// We pass the filter as-is into IMAP SEARCH command. A newline could be used
// to inject extra commands, so we remove these.
$search_str = preg_replace('/[\r\n]+/', ' ', $search_str);
Now the Roundcube search including special chars should work again.