The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

pop3 and imap clarity

Discussion in 'General Discussion' started by ggeezz, Sep 22, 2006.

  1. ggeezz

    ggeezz Member

    Joined:
    Jan 3, 2005
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    I am trying to get a new server running but having problems because I don't understand which service is supposed to be controlling what as far as pop3 and imap go.

    I am running CentOS 4.4 and WHM 10.8.0 cPanel 10.8.1-R82.

    It seems that both cppop and couriertcpd want to control pop3. Whichever one starts first get's control of the port. If couriertcpd gets control then it checks the maildir for mail and cppop checks the inbox file for mail. Exim is routing the mail to the inbox file. Also it seems that couriertcpd is the only imap server.

    So to get everything working, I have to stop couriertcpd, start cppop, and then start couriertcpd. But my question is: how is it supposed to work?
     
  2. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    Check in /var/cpanel/cpanel.config

    If maildir=0 (or is not in that file), then you should be running cppop and the cpimap daemon through xinetd

    If maildir=1, then you should be running courier-imap/pop3

    What is maildir set to, if at all, in cpanel.config?
     
  3. ggeezz

    ggeezz Member

    Joined:
    Jan 3, 2005
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    There is no maildir entry in cpanel.config.
     
  4. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    In that case, courier should not be running at all. Try the following:

    service courier-authlib stop
    chkconfig courier-authlib off
    chkconfig courier-authlib --del
    service courier-imap stop
    chkconfig courier-imap off
    chkconfig courier-imap --del


    Next check the xinetd config files:

    cd /etc/xinetd.d/

    You should have a cpimap file. Check if there are any other imap or pop3 files in that directory and if there are, set them all to disable = yes (except for cpimap).

    Then restart xinetd:

    service xinetd restart

    And restart cppop:

    /scripts/restartsrv_cppop
     
  5. ggeezz

    ggeezz Member

    Joined:
    Jan 3, 2005
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    That clears it up.

    Thanks a bunch.
     
Loading...

Share This Page