Imap error on all webmail apps after upgrade

Mikep

Verified User
Joined
Mar 21, 2007
Messages
35
Hi, I have an imap issue after upgrade server with custombuild. No webmail app works.
Squirrelmail:Error connecting to IMAP server: localhost.111 : Connection refused
Roundcube: cannot connect to IMAP server
Ubemiau:ERROR (2): fsockopen() [function.fsockopen]: unable to connect to localhost:110 (Connection refused)
Seems that dovecot it's not running, but it is:
telnet 127.0.0.1 110
Trying 127.0.0.1...
Connected to hyd18 (127.0.0.1).
Escape character is '^]'.
+OK Dovecot DA ready.
and
telnet localhost 143
Trying 127.0.0.1...
Connected to localhost.localdomain (127.0.0.1).
Escape character is '^]'.
* OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE STARTTLS AUTH=PLAIN] Dovecot DA ready.
It's not a resolv.conf issue either as I saw in similar problems.
Firewall is disabled, netstat shows the service listening..
Is there any way to remove dovecot installed by custombuild or any ideas?

Regards
 
Hi daveyw, thx for reply. Yes, it's not a problem with /etc/hosts , line is there, you see I telnet 127.0.0.1 and localhost ok. Service it's listening in netstat also.
I've tried raise roundcube to debug mode but seems not to be loging anything after update.

Regards
 
Last edited:
Squirrelmail, etc., should use IMAP and port 147. Your program is asking for a connection on port 111.

Jeff
 
Hi Jeff, I think squirrel error is error code number, not port.

Error connecting to IMAP server.
111: Connection refused.

Regards
 
Rereading your first post I now believe you're right. But you should check to make sure nothing else is listening on part 143, and also check your configurations for your squirrelmail and other webmail clients (Uebimiau is probably listening on POP; is it working?).

Is imap working from your desktop?

Jeff
 
Hi Jeff, Imap and Pop are working propertly. The issue seems only afect to webmail apps connecting to them.

Regards
 
From a shell on yoiur server, what do you get when you do each of these?
Code:
$ telnet 127.0.0.1 110
Code:
$ telnet localhost 110
Code:
$ telnet 127.0.0.1 143
Code:
$ telnet localhost 143
Jeff
 
Hi, Jeff:

telnet 127.0.0.1 110
Trying 127.0.0.1...
Connected to hyd18 (127.0.0.1).
Escape character is '^]'.
+OK Dovecot DA ready.

telnet localhost 110
Trying 127.0.0.1...
Connected to localhost.localdomain (127.0.0.1).
Escape character is '^]'.
+OK Dovecot DA ready.

telnet 127.0.0.1 143
Trying 127.0.0.1...
Connected to hyd18 (127.0.0.1).
Escape character is '^]'.
* OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE STARTTLS AUTH=PLAIN] Dovecot DA ready.

telnet localhost 143
Trying 127.0.0.1...
Connected to localhost.localdomain (127.0.0.1).
Escape character is '^]'.
* OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE STARTTLS AUTH=PLAIN] Dovecot DA ready.

Regards
 
I'm out of ideas, since you have no problem connecting to IMAP (port 143) from the command line both as localhost and has 127.0.0.1.

Someone (perhaps us, but we charge) should look into your server and do an investigation.

To contact us please use email rather than PMs.

Jeff
 
Back
Top