PDA

View Full Version : IMAP Server Error 111


danelson64
10-24-2008, 11:22 AM
When attempting to login to webmail, I receive the following error:

SquirrelMail

Error
Error connecting to IMAP server: localhost.
111 : Connection refused

scsi
10-24-2008, 01:36 PM
Is the imap server running?

Do you have a firewall blocking imap?

danelson64
10-24-2008, 03:22 PM
I apologize for not being Linux savvy, but what command should I run at the command prompt to detremine if the IMAP server is running?

jlasman
10-26-2008, 10:38 AM
from your server:
telnet localhost 143
I have no idea how to properly disconnect; I generally do it by sending quit; it appears to take ten times before it disconnects.

Jeff

gozargah
10-26-2008, 10:55 PM
i have:

[root@server custombuild]# telnet localhost 143
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
* OK Dovecot DA ready.

* BAD Error in IMAP command received by server.

* BAD Error in IMAP command received by server.

* BAD Error in IMAP command received by server.

* BAD Error in IMAP command received by server.


Is this good?

Voland
10-27-2008, 08:36 AM
Hello!

you need to change localhost record in your "/etc/hosts" to
127.0.0.1 localhost localhost.localdomain

gozargah
10-27-2008, 10:28 AM
Here is my current configuration:

127.0.0.1 localhost localhost.localdomain
1*3.***.***.1*0 server.p******s.com


Is this true?

Voland
10-27-2008, 10:45 AM
Yes, it's correct

jlasman
10-27-2008, 04:13 PM
And Voland, if you'd look at the first post you'd see that localhost was already pointing to 127.0.0.1 when gozargah asked the original question.

gozargah, I don't have any idea why your imap server is returning those errors. Perhaps you should reinstall (or have someone else reinstall) dovecot.

Jeff