Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

courier imap only for localhost

Discussion in 'Security' started by Mozai, Oct 21, 2014.

  1. Mozai

    Mozai Member

    Oct 21, 2014
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator
    When using WHM, in Home »Service Configuration »Mailserver Configuration , I can see checkboxes for turning on/off four protocols: imap, imaps, pop3, pop3s. I understand that imap is required to be turned on for webmail services, but it should not need to listen for outside connections, only for connections on localhost [] or [:::1]

    I wish to tell courier not to listen on and for (insecure) imap and (insecure) pop3, but still listen on and How would I do this?

    Alternately, I would like to know how to set iptables rules via WHM/cPanel to shield these tcp ports from connections from the outside. I worry if I use iptables from the command line, WHM/cPanel will wipe out my changes without warning. I have only found "Home »Security Center »Host Access Control" which only lets me name the daemon, not the interface. This would be bad, because if I tell couriertcpd it to stop listening to outside connections, that will block all four protocols, not just the two insecure ones.
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Apr 11, 2011
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice