Results 1 to 5 of 5

Thread: Error connecting to IMAP server: localhost

  1. #1
    Join Date
    Apr 2009
    Posts
    586

    Error connecting to IMAP server: localhost

    I am getting Error connecting to IMAP server: localhost when i try to login and read mail in Squirrelmail. Command service xinetd restart doesn't work. After rebooting the server still the same error. I suppose I need to install xinetd and imap myself.

    How can i fix this problem ?

    Please help

  2. #2
    Join Date
    Apr 2008
    Posts
    3,424

    Re: Error connecting to IMAP server: localhost

    Make sure that your imap server is allowed to get connections from localhost,
    try telnet localhost 143 for imap or 993 for imap over ssl.


    If you run `netstat -an` does it show port 143 open?

    Your error message references that it cannot connect to port 110, which is for POP3, not IMAP.

  3. #3
    Join Date
    Apr 2008
    Posts
    586

    Re: Error connecting to IMAP server: localhost

    Seems that not just IMAP but even a POP connection couldn't be established to your server and these need to be started or check whether there is any issue with the firewall.

    First figure out what email client services you are running, what program specifically. Not knowing what version of Linux you have installed, I can not guess what the default program is that handles IMAP which you need for webmail.

  4. #4
    Join Date
    Apr 2008
    Posts
    3,339

    Re: Error connecting to IMAP server: localhost

    Try using nmap to see if Courier is running.

    nmap -sV localhost

    Look for a line like this:

    143/tcp open imap Courier Imapd (released 2005)


    If its not there, try running /etc/rc.d/init.d/imap restart

  5. #5
    Join Date
    Feb 2007
    Posts
    234

    Re: Error connecting to IMAP server: localhost

    it appears that for some reason your imap server isn't listening on localhost. You should check your dovecot configuration and also your firewalls.

    I can't think of anything else it could be.

Similar Threads

  1. OS X Lion error: Problem connecting to the server
    By JyotiT in forum Operating Systems
    Replies: 8
    Last Post: 01-10-2011, 10:31 PM
  2. Localhost 10060 error message occurring in MySQL server connectivity
    By Ooopinder in forum Networking & Security
    Replies: 4
    Last Post: 09-05-2011, 10:14 AM
  3. Replies: 5
    Last Post: 27-06-2010, 02:04 AM
  4. Replies: 2
    Last Post: 15-08-2008, 12:18 AM
  5. Error 720 connecting to server via VPN
    By Vera Noest in forum Small Business Server
    Replies: 9
    Last Post: 04-10-2007, 10:45 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,713,570,055.93856 seconds with 17 queries