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

Cannot connect to webmail

K

Kevin Medri

Guest
Cannot connect to webmail <solved>

Hi I am new to plesk and am setting up my VPS. I have added domains and users and have installed both Horde and ATmail. In the mail window for each domain the webmail icon is active and when clicked it it opens either the horde window or atmail window. It asks for name and password, however when entered it hangs and eventually comes up with the following error:
Horde: Login failed.
Atmail: Server responded: -ERR Connection to IMAP server failed

I have run various tests including this one:

Not an open relay.
0 seconds - Good on Connection time
0.827 seconds - Good on Transaction time
OK - 210.5.53.139 resolves to vps219.lnx.vps.isx.net.nz
OK - Reverse DNS matches SMTP Banner

Session Transcript:
HELO please-read-policy.mxtoolbox.com
250 vps219.lnx.vps.isx.net.nz [203 ms]
MAIL FROM: <[email protected]>
250 ok [203 ms]
RCPT TO: <[email protected]>
553 sorry, that domain isn't in my list of allowed rcpthosts (#5.7.1) [218 ms]
QUIT
221 vps219.lnx.vps.isx.net.nz [203 ms]

Any help would be greatly appreciated.
 
Last edited by a moderator:
Do you really have IMAP server started? Check it with

# lsof -i tcp:143

Check errors in /var/log/psa-horde/psa-horde.log too.
 
Thank you for that.
What responce should I get from the check?
 
For example:

# lsof -i tcp:143
COMMAND PID USER FD TYPE DEVICE SIZE NODE NAME
couriertc 32327 root 5u IPv4 27573128 TCP *:imap (LISTEN)

As you can see IMAP is working here.
 
Thanks that is what I get so I presume that imap is on

Atmail log report: RSA server certificate CommonName (CN) `plesk' does NOT match server name!?

Horde log report: HORDE [error] [imp] FAILED LOGIN 203.118.172.93 to localhost:143[imap/notls] as [email protected] [on line 258 of "/usr/share/psa-horde/imp/lib/Auth/imp.php"]
 
Last edited by a moderator:
Did you tried connect with [email protected] with his password to your mailserver to port 143 via telnet? Maybe there is really incorrect password? What about

telnet localhost 143

on this server?
 
telnet localhost 143 does not work I have to telnet 127.0.0.1 143, then it connects
 
Just fixed it thanks for that the etc/hosts file was incorrect, changed to
127.0.0.1 localhost.localdomain localhost
restared the network and bingo it worked! Thanks IqorG
 
Back
Top