Just had the problem that after some updates users can't login anymore at the atmail webmail system of the a plesk managed server. Searching around the web I found the following solution which worked for me:
sudo nano /var/www/atmail/libs/Atmail/Global.php
Insert the following in the AtmailGlobal class:
public function __destruct() { session_write_close(); }
It fixes some bad session logic of Atmail.
Comments
1 comment postedWas running into a strange login loop with ATmail while setting up a apache chroot jail... without a very specific error message explaining what was wrong...
This little snippet of code REALY saved my bacon!
This fix also applies to ATmail in plesk 9.5.4 ... thats where i was running into it for the first time.
THANKS!