Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Member craigedmonds's Avatar
    Join Date
    Oct 2007
    Location
    Marbella Spain
    Posts
    43

    Default close pop, imap and smtp ports¡ if server is not used for mail?

    If my cpanel server is only used for web hosting and there are no mail services being used (mail is on a different server), should I close certain ports like 110 to prevent attacks?

    The web sites of course will be sending mail so outgoing smtp needs to be active I guess.

    So should I remove ports 110 + 143 + 25 + 587 from the TCP_IN in CSF?
    Kindest Regards
    Craig Edmonds
    UK Cheap Hosts | Craig Edmonds

  2. #2
    cPanel Staff cPanelTristan's Avatar
    Join Date
    Oct 2010
    Location
    somewhere over the rainbow
    Posts
    6,300
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: close pop, imap and smtp ports¡ if server is not used for mail?

    Hello Craig,

    Will you be unchecking those services in WHM > Service Manager as well? If you close off the ports and do not shut off the services, then you will begin getting chkservd failure emails.

    Thanks.
    cPResources: Support Options | More Support Options | Forums Search | cPanel.net Site Search | Mailing Lists(Alt) | Docs
    -- Tristan, Forums Technical Analyst, cPanel Tech Support

    Submit a ticket | Check an existing ticket

  3. #3
    cPanel Staff cPanelJared's Avatar
    Join Date
    Feb 2010
    Location
    Houston, TX
    Posts
    1,066

    Default Re: close pop, imap and smtp ports¡ if server is not used for mail?

    I also wanted to mention that if you simply shut down the unused services, there is no need to also block their ports in a firewall. A port is not open unless a service is listening on it. If no service is listening on a port, then also blocking it in the firewall is redundant.
    For hands-on assistance, please reference our new support information page: Where should I go for support?
    cPResources: Support Options - Submit a ticket here - Additional Support Options - Forums Search - Mailing Lists(Alt) - Documentation


    -- Jared Ryan, Technical Analyst, cPanel Technical Support

Similar Threads & Tags
Similar threads

  1. Filed with Developers Ability to use Zimbra - Custom IMAP, SMTP and POP Server [Case 59012]
    By wakester in forum Feature Requests for cPanel/WHM
    Replies: 29
    Last Post: 05-04-2012, 09:34 AM
  2. Why all my pop or smtp or imap traffic is ZERO?
    By sigmanetpro in forum New User Questions
    Replies: 4
    Last Post: 10-14-2009, 09:21 PM
  3. status of SMTP, POP and IMAP
    By thewebhosting in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 07-30-2008, 01:18 PM
  4. I want to disable cpanel Exim mail server POP, SMTP, IMAP
    By snaidu in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 12-06-2006, 01:33 AM
  5. which ports to open/close for a standard web server?
    By spaceman in forum cPanel and WHM Discussions
    Replies: 6
    Last Post: 01-25-2006, 10:14 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube