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!

Is there a way to disable pop3 logins

Discussion in 'General Discussion' started by durangod, Oct 4, 2016.

  1. durangod

    durangod Well-Known Member

    Joined:
    May 12, 2012
    Messages:
    365
    Likes Received:
    17
    Trophy Points:
    68
    cPanel Access Level:
    Root Administrator
    For a few days now i have had lots of hits on my mail/pop3 signin page trying to get in unauthorized. Is there a way to simply disable the login page, i dont use it, i always just use the cpanel or whm login to do what i need. So i dont need any access via the mail login page, i can just enter it via cpanel.

    So how do i disable that login page all together. The url is

    https://hostname.example.com:2096

    I cant just block port 2096 because i wont be able to access it myself. I am the only user on the server.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    #1 durangod, Oct 4, 2016
    Last edited: Oct 4, 2016
  2. durangod

    durangod Well-Known Member

    Joined:
    May 12, 2012
    Messages:
    365
    Likes Received:
    17
    Trophy Points:
    68
    cPanel Access Level:
    Root Administrator
    Well i could not find a way via WHM however there is a way via CSF... you just make a rule and put it in the csf allow file

    tcp|in|d=2096|s=xx.xx.xx.xx

    replace the x's with your local conputer ip and everyone else that tries to access that port will be denied. Remember if your ip changes you will need to change it in the file as well.

    The sad part is that i have not found a way to test this unless i change my ip. Most of the test sites dont accept host name formats.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. NixTree

    NixTree Well-Known Member

    Joined:
    Aug 19, 2010
    Messages:
    407
    Likes Received:
    3
    Trophy Points:
    143
    Location:
    Gods Own Country
    cPanel Access Level:
    Root Administrator
    Twitter:
    If you are the only user, then just white-list your ip in your server and remove the port from server TCP_IN Section.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. durangod

    durangod Well-Known Member

    Joined:
    May 12, 2012
    Messages:
    365
    Likes Received:
    17
    Trophy Points:
    68
    cPanel Access Level:
    Root Administrator
    Thats also a good idea, i guess either way will work, a rule or your way. Thanks..
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,302
    Likes Received:
    1,847
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

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