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.

How to close WEBMAIL ports ?

Discussion in 'E-mail Discussions' started by sh4ka, Mar 7, 2006.

  1. sh4ka

    sh4ka Well-Known Member

    Joined:
    May 12, 2005
    Messages:
    442
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    US
    cPanel Access Level:
    DataCenter Provider
    I have disabled all webmail programs (horde, squirrel.. and neomail).. now, How can I close the webmail ports and services for the entire server? ports are 2095 and 2096 and webmail daemons are ???

    -- Edit--

    root@server [~]# fuser -v 2095/tcp

    USER PID ACCESS COMMAND
    2095/tcp root 4513 f.... cpsrvd

    This is the cPanel daemon.. so.. I think this ports can not be closed, ha ?
     
    #1 sh4ka, Mar 7, 2006
    Last edited: Mar 7, 2006
  2. dalem

    dalem Well-Known Member
    PartnerNOC

    Joined:
    Oct 24, 2003
    Messages:
    2,577
    Likes Received:
    40
    Trophy Points:
    48
    Location:
    SLC
    cPanel Access Level:
    DataCenter Provider
    install a firewall and close the ports 2095 & 2096
     
  3. sh4ka

    sh4ka Well-Known Member

    Joined:
    May 12, 2005
    Messages:
    442
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    US
    cPanel Access Level:
    DataCenter Provider
    I already closed 2095 and 2096 ports on firewall.. but still showing as open with a local nmap.. is there a way to close locally ?
     
    #3 sh4ka, Mar 7, 2006
    Last edited: Mar 7, 2006
  4. dalem

    dalem Well-Known Member
    PartnerNOC

    Joined:
    Oct 24, 2003
    Messages:
    2,577
    Likes Received:
    40
    Trophy Points:
    48
    Location:
    SLC
    cPanel Access Level:
    DataCenter Provider
    not that it makes much difference

    turn off the webmail progrms in whm Tweak Settings
     
  5. sh4ka

    sh4ka Well-Known Member

    Joined:
    May 12, 2005
    Messages:
    442
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    US
    cPanel Access Level:
    DataCenter Provider
    I already turned off all mail programs in Tweak Settings and closed ports on the firewall.. restared and ports still open.. I know that externally ports are closed because of the firewall rules, but is there a way to close those ports locally ?


    thzk!
     
  6. dalem

    dalem Well-Known Member
    PartnerNOC

    Joined:
    Oct 24, 2003
    Messages:
    2,577
    Likes Received:
    40
    Trophy Points:
    48
    Location:
    SLC
    cPanel Access Level:
    DataCenter Provider
    you will probably have to remove from cpsrvd

    as when cpanel starts webmaild starts
     
    #6 dalem, Mar 7, 2006
    Last edited: Mar 7, 2006
Loading...

Share This Page