localhost 25 problem

Discussion in 'HOWTO-Related Questions' started by dpsxl, Mar 2, 2006.

  1. dpsxl

    dpsxl New Member

    I installed Fedora Core4, (The Perfect Setup). I'm having problem telneting into localhost 25.

    Escape character is '^]'.
    220 my.server ESMTP Postfix

    I completed the whole setup and was able to send a test message to my gmail email address:
    Received: from dpslx.server (dpslx.server [127.0.0.1])
    (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
    (No client certificate requested)
    by virtual.dpslx.server (Postfix) with ESMTP id 658127E4B0

    Here's a copy of my netstat -tap:

    Active Internet connections (servers and established)
    Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
    tcp 0 0 *:imaps *:* LISTEN 1922/xinetd
    tcp 0 0 *:32769 *:* LISTEN 1590/rpc.statd
    tcp 0 0 *:pop3s *:* LISTEN 1922/xinetd
    tcp 0 0 *:mysql *:* LISTEN 2012/mysqld
    tcp 0 0 *:pop3 *:* LISTEN 1922/xinetd
    tcp 0 0 *:imap *:* LISTEN 1922/xinetd
    tcp 0 0 *:sunrpc *:* LISTEN 1573/portmap
    tcp 0 0 *:ftp *:* LISTEN 2091/proftpd: (acce
    tcp 0 0 192.168.1.51:domain *:* LISTEN 1521/named
    tcp 0 0 192.168.1.50:domain *:* LISTEN 1521/named
    tcp 0 0 dpsxl.server:domain *:* LISTEN 1521/named
    tcp 0 0 dpsxl.server:ipp *:* LISTEN 1886/cupsd
    tcp 0 0 dpsxl.server:5335 *:* LISTEN 1870/mDNSResponder
    tcp 0 0 *:smtp *:* LISTEN 2082/master
    tcp 0 0 dpsxl.server:rndc *:* LISTEN 1521/named
    tcp 0 0 dpsxl.serve:x11-ssh-offset *:* LISTEN 2365/0
    tcp 0 0 dpsxl.server:6011 *:* LISTEN 2617/1
    tcp 0 0 *:http *:* LISTEN 2106/httpd
    tcp 0 0 *:ssh *:* LISTEN 1914/sshd
    tcp 0 0 ::1:x11-ssh-offset *:* LISTEN 2365/0
    tcp 0 0 ::1:6011 *:* LISTEN 2617/1
    tcp 0 0 *:https *:* LISTEN 2106/httpd
    tcp 0 0 ::ffff:192.168.1.51:ssh ::ffff:192.168.1.198:47254 ESTABLISHED 2361/sshd: dpsxl [
    tcp 0 0 ::ffff:192.168.1.50:ssh ::ffff:192.168.1.198:34837 ESTABLISHED 2611/sshd: dpsxl [
     
  2. zokahn

    zokahn New Member

    I think you are allright there:

    Escape character is '^]'.
    220 my.server ESMTP Postfix


    If you see this then you are OK, you have working connection to your postfix smtp server! If you would like to see more of the inner-workings of you server do this: telnet localhost 25

    After you have established the connection to your postfix mail server type:

    ehlo localhost

    But i think you somehow expected something else? I do want to warn you... Make absolutely sure that your server cannot be used by unwanted folks if you plan to connect the server directy to the internet. You can check if you have an open relay at: http://www.abuse.net/relay.html

    Gr,

    Bart
     
  3. dpsxl

    dpsxl New Member

    Well, maybe I'm all right, but not sure! I was able to installed and logged into ISPConfig and everything seems okay, but have not had a chance to play around with it it yet.

    Yes, I did telnet localhost 25 and the server hangs and times-out at the:
    Escape character is '^]'.
    220 my.server ESMTP Postfix


    According to the Perfect Setup Tutorial (http://www.howtoforge.com/perfect_setup_fedora_core_4_p4) I'm supposed to connect to the postfix server if everything is okay, but the server is not opening up via telent localhost 25. Funny thing is, I'm able to send email.

    When I typed "ehlo localhost" I received command not found.


     
  4. falko

    falko Super Moderator ISPConfig Developer

    You must type
    Code:
    ehlo localhost
    when you see the
    Code:
    220 my.server ESMTP Postfix
    line. That's what zokahn wanted to tell you. :)
     
  5. dpsxl

    dpsxl New Member

    Got it...! Thank you very much.

     
  6. IGadget

    IGadget New Member

    More than you probably wanted to know...

    Really, if you are just sending a text based test message you should use

    Code:
    helo localhost
    the elho command is to indicate that an 8-bit connection is being established. The comanad availabilty does change between methods. If you are new to email - the raw form, once you are connected you can do HELP to get a brief command list.

    It doesnt really matter in this case as either will work. After you are connected, nothing else will appear because under normal circumstances an application is doing the connecting and it just starts issuing commands.
     

Share This Page