• Inviting everyone who uses WordPress management tools in Plesk
    The Plesk team is conducting a 60-minute research session that includes an interview and a moderated usability test.
    To participate, please use this link .
    Your experience will help shape product decisions and ensure the tools better support real-world use cases.

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