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.
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.