ServerTune

Browse by category

Search    |    Advanced search

IMAP doesn't work. Can't connect to 143

1. SSH to the server and run the following command to see if imap daemon exists and is executeable:
- Linux

The system should return something similar to this:

* OK [CAPABILITY IMAP4REV1 LOGIN-REFERRALS STARTTLS AUTH=LOGIN]
server.hostname .tld IMAP5rev1 2003.339 at Mon, 31 Dec 2007 10:00:35 -0600 (CMT)

- FreeBSD

For those using RedHat/Fedora/Centos, you can install IMAPD using the following commands:

2. View file following file and make sure that xinetd has the proper settings:

# default: on
# description: imapd
service imap
{
   disable = no
   socket_type = stream
   wait = no
   user = root
   server = /usr/sbin/imapd
   log_on_success += DURATION USERID
   log_on_failure += USERID
   nice = 10
}

- FreeBSD: /etc/inetd.conf imap4 stream tcp nowait root /usr/sbin/imapd imapd

Note
/etc/inetd.conf will contain many other lines. Just make sure that this one exists.

3. Check if IMAP works

The system should return something similar to this:

Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
* OK [CAPABILITY IMAP4REV1 LOGIN-REFERRALS STARTTLS AUTH=LOGIN]
localhost IMAP5rev1 2003.339 at Mon, 31 Dec 2007 10:00:55 -0600 (CMT)

4. Download and re-intstall the default IMPAD that comes with DirectAdmin by running the following commands:

4. check your /etc/hosts file and make sure you have the following directive:

127.0.0.1 localhost.localdomain localhost

5. Make sure Port 143 is open in your firewall/network.

 
 
Add comment
 
Views: 1072
 
Votes: 0
 
Comments: 0
 

Other articles in this Category

RSS