Cant Telnet to Loaclhost 25

Discussion in 'HOWTO-Related Questions' started by deco5003, Aug 29, 2011.

  1. deco5003

    deco5003 New Member

    I cant
    Code:
    telnet to lacalhost 25 
    Telnet: Unable to connect to remote host: Network is unreachable
    But if I use My server internal IP I got response.
    Code:
    telnet 192.168.1.100 25
    Trying 192.168.1.100...
    Connected to 192.168.1.100.
    Escape character is '^]'.
    220 dec1.deccom.com ESMTP Postfix -POSTFIX- biff = no

    Code:
    ehlo deccom.com
    250-dec1.deccom.com
    250-PIPELINING
    250-SIZE 30720000
    250-VRFY
    250-ETRN
    250-STARTTLS
    250-AUTH PLAIN LOGIN
    250-AUTH=PLAIN LOGIN
    250-ENHANCEDSTATUSCODES
    250-8BITMIME
    250 DSN
    Should I meke some changes to the reslove and Hosts files?
    Tanks for tour help!
     
  2. falko

    falko Super Moderator ISPConfig Developer

    It must be localhost, not lacalhost.
     
  3. deco5003

    deco5003 New Member

    Telnet localhost 25

    Oh I did a type mistake Sorry. I change de localhost ip from 127.0.0.0 to 127.0.0.1 and now i can connect to localhost 25
    Code:
     telnet localhost 25
    Trying 127.0.0.1...
    Connected to localhost.localdomain.
    Escape character is '^]'.
    220 dec1.deccom.com ESMTP Postfix -POSTFIX- biff = no
    ehlo localhost
    250-dec1.deccom.com
    250-PIPELINING
    250-SIZE 30720000
    250-VRFY
    250-ETRN
    250-STARTTLS
    250-AUTH PLAIN LOGIN
    250-AUTH=PLAIN LOGIN
    250-ENHANCEDSTATUSCODES
    250-8BITMIME
    250 DSN
     
  4. 1thMaster

    1thMaster New Member

    Telnet localhost 25

    [email protected]:/$ telnet localhost 25
    Trying 127.0.0.1...

    tcp 0 0 0.0.0.0:25 0.0.0.0:* LISTEN 30188/tcpserver

    ..help .. where i do wrong ?!
     
  5. falko

    falko Super Moderator ISPConfig Developer

    Are there any errors in your mail log (in the /var/log/ directory)?
     
  6. 1thMaster

    1thMaster New Member

    where to start :-s


    Oct 7 08:05:56 srv pop3d: authentication error: Input/output error

    Oct 7 08:05:56 srv pop3d: LOGIN FAILED, user=sys, ip=[::ffff:89.233.183.237]
    Oct 7 08:05:56 srv pop3d: authentication error: Input/output error

    .. i think that is not the problem why telnet localhost 25 .. doesnt work !
     
  7. falko

    falko Super Moderator ISPConfig Developer

    You need to check for smtpd or Postfix errors.
     

Share This Page