• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.

Horde webmail login problem

D

diadem.support

Guest
Hello,

We are facing a strange issue with our Horde webmail access. After accessing webmail properly for sometime the login shows "Login failed". We have to restart the courier-imap service when it starts working again. Please suggest how to solve this issue.
 
Is there any suspicious errors in /var/log/psa-horde/psa-horde.log ?
 
The messages in the log( /var/log/psa-horde/psa-horde.log) are:


Feb 25 15:38:05 HORDE [error] [imp] Unknown IMAP response from the server. Server Responded: [on line 514 of "/usr/share/psa-horde/imp/lib/IMAP/Client.php"]


Feb 25 15:37:59 HORDE [error] [imp] FAILED LOGIN 59.165.45.4 to localhost:143[imap/notls] as [email protected] [on line 258 of "/usr/share/psa-horde/imp/lib/Auth/imp.php"]

Apart from these errors there are no other entry in the log file.
 
I guess there was a problem with too many open files. Issue is similar to described in article http://kb.odin.com/en/255 . Error messages are not the same but the reason is the very same.

Problem is caused by small FD_SETSIZE value and it is needed to recompile some system packages following instructions from article http://kb.odin.com/en/260 .

Another (easier) solution can be enabling piped logs (see article http://kb.odin.com/en/2066 )
Try it and inform with results.
 
Are there other possible causes of this?

We have a server that has had no customers added to it in over a year that after upgrading is now producing:

Unknown IMAP response from the server. Server Responded: [on line 514 of "/usr/share/psa-horde/imp/lib/IMAP/Client.php"]

It has less than 150 sites on it and the webmail is not frequently used by those customers, but some are reporting the login failures regularly. I see about 45 persistent imap connections to the server, which is far less than some of our other servers that aren't having this issue have. With those numbers I don't see how we could be coming anywhere near the FD_SETSIZE limit of 1024, apache at most should be using 600 if every site had ssl enabled, which they don't, and it's unusual for more than two or three people to be using webmail at the same time.
 
In my case this problem occurs when the e-mail traffic is high

I solved this problem changing some parameters in /etc/courier-imap/imapd file.

I increased the values of IMAP_IDLE_TIMEOUT and IMAP_ULIMITD
 
Back
Top