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.

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:
    251
    Likes Received:
    10
    Trophy Points:
    18
    cPanel Access Level:
    Website Owner
    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.
     
    #1 durangod, Oct 4, 2016
    Last edited: Oct 4, 2016
  2. durangod

    durangod Well-Known Member

    Joined:
    May 12, 2012
    Messages:
    251
    Likes Received:
    10
    Trophy Points:
    18
    cPanel Access Level:
    Website Owner
    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.
     
  3. NixTree

    NixTree Well-Known Member

    Joined:
    Aug 19, 2010
    Messages:
    386
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Gods Own Country
    cPanel Access Level:
    Root Administrator
    If you are the only user, then just white-list your ip in your server and remove the port from server TCP_IN Section.
     
  4. durangod

    durangod Well-Known Member

    Joined:
    May 12, 2012
    Messages:
    251
    Likes Received:
    10
    Trophy Points:
    18
    cPanel Access Level:
    Website Owner
    Thats also a good idea, i guess either way will work, a rule or your way. Thanks..
     
  5. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,811
    Likes Received:
    671
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
Loading...

Share This Page