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.

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:
    30,811
    Likes Received:
    671
    Trophy Points:
    113
    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.
     
  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