PDA

View Full Version : Squirrel Mail error - imap not running?



prophecy
11-11-2003, 01:58 PM
ERROR
Error connecting to IMAP server: localhost.
111 : Connection refused

Any ideas?

DirectAdmin Support
11-11-2003, 09:08 PM
Hello,

as root, run:

service xinetd restart

John

prophecy
11-12-2003, 12:58 AM
no love,
same error.

DirectAdmin Support
11-12-2003, 01:19 PM
Hello,

Then you'll need to make sure imap was installed.

http://www.directadmin.com/forum/showthread.php?s=&threadid=829

check and make sure /usr/sbin/imapd exists
check the permissions on the imapd file
check and make sure /etc/xinetd.d/imap exists
restart xinetd

test it with:
telnet localhost 143
<should see welcome message>
01 logout

John

prophecy
11-12-2003, 01:57 PM
imapd is there
permissions are 755
xinetd.d/imap exists

telnet test fails.
# telnet localhost 143
Trying 127.0.0.1...
telnet: connect to address 127.0.0.1: Connection refused

restarted xinetd with service xinetd restart and it restarts fine, but still doesn't work.

DirectAdmin Support
11-12-2003, 09:38 PM
Check the /var/log/messages for possible causes of the error. Also, you could try to run the imapd program just to make sure it works (just execute the file). Then check the contents of the xinetd.d/imap file, make sure it has contents and "disabled" is set to "no". Make sure you don't have any iptables running that would block port 143 ("service iptables stop" to test)

Or you can send your ip and root pass to support@directadmin.com and we can have a look.

John

prophecy
11-13-2003, 09:38 AM
disabled was set to yes, changed it to no, did the service xinetd restart and looks like it's all good.

Thanks.

outpernet
02-01-2004, 12:14 PM
i want to let you know that is was happened to me too.