• We value your experience with Plesk during 2026
    Please help us understand which Plesk features made your work easier this year, what is still missing and how AI should help you in Plesk ?
    Take this short 5-minutes survey. Your answers go straight into the Plesk roadmap for 2027.

Atmail search not working after upgrade to Plesk 10

P

PaulB1977

Guest
After upgrading to Plesk 10, the search facility in Atmail stopped working. I found that there was a problem with the search.php file in the atmail directory which was appending '20' to the search date range years, even though they already had a leading 20. This was producing an IMAP query like this:

FROM "test search" BEFORE "31-Dec-202011" SINCE "25-Sep-202010"

To fix, edit search.php in the atmail directory (/var/www/atmail/search.php)

Change Line 364: $before = "$BeforeDay-$BeforeMonth-$BeforeYear";
Change Line 369: $after = "$AfterDay-$AfterMonth-$AfterYear";

Hope this helps somebody.
 
Back
Top