Results 1 to 5 of 5

Thread: Telnet Port 25 to Check TLS

  1. #1
    Join Date
    Mar 2010
    Posts
    162

    Telnet Port 25 to Check TLS

    Hello,
    I am trying to set up , rather I have setup the TLS for the mails which are incoming and for this I have used the Red Condor as a mail gateway and the SMTP connector, which is implemented on my Exchange 2003 server. My problem is the when I try to use the Telnet service on by Ip, it is not working. I need something to check TLS with the Telnet port 23. I guess someone should have an answer to this. Any help on this is appreciated. Thanks in advance.

  2. #2
    Join Date
    Nov 2009
    Posts
    335

    Re: Telnet Port 25 to Check TLS

    Hello,
    If I am not wrong then most of the firewalls are set to allow the port 25. That is most of them are pre configured to allow the TLS/SSl on port number 25. If you are not sure that this is configured properly then you should consult to your firewall vendor, from where you have purchased or configured the firewall setting. First see that the traffic of the TLS/SSL are redirected to the port 25, if this is the setting then you can communicate properly.

  3. #3
    Join Date
    Nov 2009
    Posts
    518

    Re: Telnet Port 25 to Check TLS

    Hello,
    For modifing the telnet script to work as you need it, I have a script with me.
    Here is the code
    Code:
    #! /usr/bin/perl
    
    use Net::Telnet(); 
    $chc = new Net::Telnet (Telnetmode => 0);
    $chc->open(Host => $ARGV[0],
               port => 25);
    
    $chc->waitfor('/220/');
    $chc->print("ehlo test");
    $chc->waitfor('/STARTTLS/');
    $ln = $chc->getline;
    print "$ln\n";

  4. #4
    Join Date
    Nov 2009
    Posts
    359

    Re: Telnet Port 25 to Check TLS

    Hello,
    You can check if the mail server is capable for TLS or not
    Take a look here
    Code:
    CMD: telnet mail.example.com 25
    220 mail77-red.bigfish.com ESMTP Postfix EGGS and Butter
    CMD: ehlo test
    250-mail77-red.example.com
    250-PIPELINING
    250-SIZE 150000000
    250-ETRN
    250-STARTTLS
    250 8BITMIME
    CMD: starttls
    220 Ready to start TLS
    
    The "220 Ready to start TLS" indicates that the server is ready to start a TLS connection.

  5. #5
    Join Date
    Nov 2009
    Posts
    446

    Re: Telnet Port 25 to Check TLS

    Hello,
    I think you should first check that your mail server has a TLS/SSL protocol stack installed or not. If you have not installed this then please install it and then try to send a mail. If you have a latest version of the operating system, then if I am not wrong it is installed by default, but only on the latest version of the operating system, if you are using an old operating system, then you will have to install it manually. Just install it and if you have problems regarding this post back.

Similar Threads

  1. What port does telnet use?
    By SadyQ in forum Networking & Security
    Replies: 4
    Last Post: 02-01-2012, 10:29 PM
  2. Telnet disconnects while testing Port 25 SMTP
    By Abheek in forum Networking & Security
    Replies: 5
    Last Post: 05-04-2010, 11:33 AM
  3. No response to telnet on port 25
    By Hamlet in forum Networking & Security
    Replies: 5
    Last Post: 01-04-2010, 10:59 AM
  4. Telnet ssh port response
    By SoftWore in forum Networking & Security
    Replies: 5
    Last Post: 23-12-2009, 11:10 AM
  5. How can i telnet to port
    By Drogbaa in forum Networking & Security
    Replies: 4
    Last Post: 16-07-2009, 10:21 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,713,489,665.81283 seconds with 17 queries