• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

ATMail and Horde timing out when connecting to IMap

W

Workshed

Guest
Hi-

We cannot log into either Horde or ATMail with valid e-mail accounts. ATMail times out connecting to iMap server. Horde grinds away and tells us the username or password is incorrect, but it's not.

I've tried a number of things, but most curious is that I cannot seem to telnet to localhost. It always times out, no matter which port I try.

Running CentOS 5.5 with Plesk 9.5.2.

Here's everything I've tried:

Have upgraded to latest versions of PHP/MySQL/Apache via the Atomic repo.

Have made sure telnet server is enabled for testing. Can telnet from external machine.

Have checked hosts file. It has the 127.0.0.1 localhost localhost.localdomain record.

Netstat says courier-imap is monitoring port 143.

Anyone have any other thoughts? I have a few sites I'm migrating to this new server and they have Horde users, so I sort of need webmail working soon. Seems like something is amiss with the localhost record (can't ping localhost either). It's probably something pretty basic, but I can't seem to find anything online.

BTW, server is a Rackspace Cloud Server.

Any help is appreciated.

Thanks!

-Bret
 
Problem solved. We were missing an IPTabes rule to allow local traffic. D'oh! All fixed now!
 
Could you possibly list the steps you did to fix this? I have run into the same email problems since upgrading to php 5.x with Atomic...
 
Hi- It's been awhile, so I'll try to remember what I did. Basically, in my case, I believe it all amounted to adding the following lines to my iptables, then reloading the iptables rules:

-A INPUT -p tcp -m tcp --dport 143 -j ACCEPT
-A OUTPUT -p tcp -m tcp --dport 143 -j ACCEPT

You *might* have to do this with the SMTP ports as well, but this should open up imap ports for internal and external traffic.

All of that said, I don't think my issue was related to updating PHP, so your mileage may vary.

Hope this helps.
 
Back
Top