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.

Block incoming Telnet connections

Discussion in 'General Discussion' started by yatinthakur, Apr 22, 2014.

  1. yatinthakur

    yatinthakur Member

    Joined:
    Mar 27, 2014
    Messages:
    17
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hello

    I wonder how can I block incoming connections via telnet. ? so that user can not send emails using telnet server ip 25/

    Or

    Is there any way to enable authentication for smtp ? I am using cpanel 11.5 with exim


    Thanks
    Yatin
     
  2. vanessa

    vanessa Well-Known Member
    PartnerNOC

    Joined:
    Sep 26, 2006
    Messages:
    817
    Likes Received:
    22
    Trophy Points:
    18
    Location:
    Virginia Beach, VA
    cPanel Access Level:
    DataCenter Provider
    You can't really block telnet specifically - all that does is allow a connection to open to a remote server. When someone uses telnet to connect to port 25, the server doesn't see that as being any different than a mail client opening an SMTP connection.

    What I suspect you're actually asking is how to prevent email from being relayed through your server. By default, cPanel configures your server to require SMTP authentication. Is there any reason you believe that your server is not set up this way?
     
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    653
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    That is not a valid version of cPanel. The latest cPanel/WHM builds are version 11.42. You can verify your version of cPanel via the following command:

    Code:
    cat /usr/local/cpanel/version
    Thank you.
     
  4. yatinthakur

    yatinthakur Member

    Joined:
    Mar 27, 2014
    Messages:
    17
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    root@server [/home/xxxx]# cat /usr/local/cpanel/version
    11.42.1.11
     
  5. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    653
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Check to make sure that "Antirelayd" is unchecked in "WHM Home » Service Configuration » Service Manager". SMTP authentication is required as long as this service remains disabled.

    Thank you.
     
Loading...

Share This Page