Fail to telnet localhost 25

Discussion in 'Server Operation' started by satimis, Nov 22, 2006.

  1. satimis

    satimis New Member

    Hi folks,

    Ubuntu-6.06.1-LAMP-server-amd64

    I followed Section "11 Postfix With SMTP-AUTH And TLS" on
    http://www.howtoforge.com/perfect_setup_ubuntu_6.06_p5

    to config LAMP server. Encountered problem on running;
    $ sudo telnet localhost 25
    Code:
    Trying 127.0.0.1...
    Connected to localhost.localdomain.
    Escape character is '^]'.
    220 server1.example.com ESMTP Postfix (Ubuntu)
    
    (hanging here sometimes - then popup)
    
    421 server1.example.com Error: timeout exceeded
    Connection closed by foreign host.
    
    Please advise how to fix the problem.

    TIA


    B.R.
    satimis
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Have you typed:

    when the command seems to be hanging? The hanging command means that it is waiting for your input.
     
  3. satimis

    satimis New Member

    Solved

    Hi till,

    Tks for your advice.

    Previously I made a mistake. It was NOT hanging but wasting for my input.

    $ sudo /etc/init.d/saslauthd restart
    Password:
    Code:
    Stopping SASL Authentication Daemon: saslauthd.
    Starting SASL Authentication Daemon: saslauthd.
    
    $ sudo telnet localhost 25
    Code:
    Trying 127.0.0.1...
    Connected to localhost.localdomain.
    Escape character is '^]'.
    220 server1.example.com ESMTP Postfix (Ubuntu)
    
    (it was waiting here.  Then I typed)
    ehlo localhost
    250-server1.example.com
    250-PIPELINING
    250-SIZE 10240000
    250-VRFY
    250-ETRN
    250-STARTTLS
    250-AUTH LOGIN PLAIN
    250-AUTH=LOGIN PLAIN
    250 8BITMIME
    
    (it was further waiting here.  Then I typed)
    quit
    221 Bye
    Connection closed by foreign host.
    
    Tks.


    B.R.
    satimis
     

Share This Page