1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

IMAP not working

Discussion in 'Plesk for Linux - 8.x and Older' started by geoff soper, May 2, 2009.

  1. geoff soper

    geoff soper Guest

    0
     
    I've recently had issues with my VPS filling up and stopping working. I've now freed one GB of space but I have no IMAP access to the server. Nothing is showing as down in the control panel but mail clients say the server is refusing connections. Likewise with telnet on port 143.

    I have root SSH access to the server.

    Can anyone suggest what diagnosis or solution I should be applying?

    Many thanks,
    Geoff
     
  2. atomicturtle

    atomicturtle Golden Pleskian

    29
     
    Joined:
    Nov 20, 2002
    Messages:
    2,110
    Likes Received:
    7
    Location:
    Washington, DC
    Check your firewall rules, and try telneting to the port externally to see if anything is listening
     
  3. geoff soper

    geoff soper Guest

    0
     
    Hi,
    I don't know anything about firewalls on my server but I don't think it's them. There's no response from tetnetting to port 143 so I think that's where the problem lies...

    Any more ideas on how to diagnose my problem (the support people at my host are atrocious!)

    Many thanks!
     
  4. atomicturtle

    atomicturtle Golden Pleskian

    29
     
    Joined:
    Nov 20, 2002
    Messages:
    2,110
    Likes Received:
    7
    Location:
    Washington, DC
    I wrote a great book about them :p

    iptables -L -n would dump your rules
     
  5. geoff soper

    geoff soper Guest

    0
     
    They seem pretty minimal:

    Does that help at all?
     
  6. geoff soper

    geoff soper Guest

    0
     
    BTW, this is what I got from trying to connect:

    * BYE [ALERT] Cannot connect to IMAP server 212.241.195.198 (212.241.195.198:143
    ), connect error 10061


    Connection to host lost.

    C:\Documents and Settings\Geoff>
     
  7. geoff soper

    geoff soper Guest

    0
     
    Solved!

    I found the following errors in /var/log/messages :

    May 2 03:05:03 lvps212-241-195-198 xinetd[27723]: missing service keyword [file=/etc/xinetd.d/courier-imapd] [line=1]
    May 2 03:05:03 lvps212-241-195-198 xinetd[27723]: missing service keyword [file=/etc/xinetd.d/courier-pop3d] [line=1]


    In case this helps anyone else in the future, I found the problem:

    /etc/xinetd.d/courier-imapd :
    ervice imap
    {
    disable = no
    flags = NODELAY
    socket_type = stream
    wait = no
    user = root
    server = /usr/bin/tcp-env
    server_args = -R -f /etc/courier-imap/imapd /usr/sbin/imaplogin /usr/lib/courier-imap/authlib/authpsa /usr/bin/imapd Maildir
    log_type = FILE /var/log/imapd.log
    log_on_success = PID HOST EXIT DURATION
    log_on_failure = HOST ATTEMPT
    }

    Somehow, the initial 's' had been deleted! The same went for the POP3 file.
     
Loading...