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!

Stopping port 25

Discussion in 'Security' started by zaher, Jul 24, 2014.

  1. zaher

    zaher Active Member

    Joined:
    Jul 2, 2014
    Messages:
    37
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Root Administrator
    Hello,

    I would like to block access to port 25 so that no body can send through the server unless they are using the secure connection.

    I have several options to do that

    Option 1:
    Exim Configuration Manager > Require clients to connect with SSL or issue the STARTTLS command before they are allowed to authenticate with the server.

    Option 2:
    Use CSF to block port 25 for 0.0.0.0/0 and allow for localhost

    I need to confirm however that none of these options will prevent other mail servers from delivering emails to this server and that cPanel and my local scripts can still be able to send.

    Thanks
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    43,672
    Likes Received:
    1,788
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello :)

    I suggest using the fist option because the second option would prevent email from coming in. This post does a good job of explaining it:

    Port 25 Usage

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. zaher

    zaher Active Member

    Joined:
    Jul 2, 2014
    Messages:
    37
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Root Administrator
    As expected; thanks!
     
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