The Perfect Server - Fedora7_p5 - telnet localhost 25 - hanging

Discussion in 'HOWTO-Related Questions' started by jasthom69, Sep 21, 2007.

  1. jasthom69

    jasthom69 New Member

    Hi I'm new to Linux

    I have just started following The Perfect Server - Fedora7 - got to page 5 and down to "To see if SMTP-AUTH and TLS work properly now run the following command: "


    [root@netpoint ~]# telnet localhost 25
    Trying 127.0.0.1...
    Connected to localhost.
    Escape character is '^]'.

    At this point the session hangs with a blinking cursor :confused: .
    So far I have followed the guide and each point where ask to vi everthing matches to the letter and had no differing output other than NIC/eth0, hosts etc.
    I have included some output below.

    Please could someone assist?

    Many thanks in advance

    Jas



    [root@netpoint ~]# cat /etc/sysconfig/network-scripts/ifcfg-eth0
    # D-Link System Inc DL2000-based Gigabit Ethernet
    DEVICE=eth0
    BOOTPROTO=static
    BROADCAST=172.16.100.15
    HWADDR=00:13:46:71:83:A7
    IPADDR=172.16.100.14
    NETMASK=255.255.255.240
    NETWORK=172.16.100.0
    ONBOOT=yes
    [root@netpoint ~]#



    [root@netpoint ~]# vi /etc/hosts
    # Do not remove the following line, or various programs
    # that require network functionality will fail.
    127.0.0.1 localhost.localdomain localhost
    172.16.100.14 netpoint.homedns.org netpoint

    ::1 localhost6.localdomain6 localhost6
    ~
    ~

    [root@netpoint ~]# rpm -q telnet
    telnet-0.17-38.fc7

    [root@netpoint ~]# netstat -tap
    Active Internet connections (servers and established)
    Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
    tcp 0 0 *:mysql *:* LISTEN 1963/mysqld
    tcp 0 0 *:sunrpc *:* LISTEN 1622/rpcbind
    tcp 0 0 localhost.localdomai:domain *:* LISTEN 1602/named
    tcp 0 0 localhost.localdomain:ipp *:* LISTEN 1858/cupsd
    tcp 0 0 *:smtp *:* LISTEN 2055/master
    tcp 0 0 localhost.localdomain:rndc *:* LISTEN 1602/named
    tcp 0 0 *:55262 *:* LISTEN 1651/rpc.statd
    tcp 0 0 netpoint.homedns.org:33554 ik-in-f17.google.com:http ESTABLISHED 2858/firefox-bin
    tcp 0 0 netpoint.homedns.org:35462 ik-in-f18.google.com:http ESTABLISHED 2858/firefox-bin
    tcp 1 0 localhost.localdomain:smtp localhost.localdomain:36029 CLOSE_WAIT -
    tcp 0 0 localhost.localdomain:36030 localhost.localdomain:smtp ESTABLISHED 4007/telnet
    tcp 0 0 netpoint.homedns.org:49659 ik-in-f83.google.com:http ESTABLISHED 2858/firefox-bin
    tcp 1656 0 netpoint.homedns.org:smtp netpoint.homedns.org:34489 CLOSE_WAIT -
    tcp 1 0 netpoint.homedns.org:36599 admin.fedora.redhat.co:http CLOSE_WAIT 2261/python
    tcp 1 0 netpoint.homedns.org:34148 mirrors1.kernel.org:http CLOSE_WAIT 2261/python


    [root@netpoint ~]# cat /etc/postfix/main.cf
    queue_directory = /var/spool/postfix
    command_directory = /usr/sbin
    daemon_directory = /usr/libexec/postfix
    mail_owner = postfix
    inet_interfaces = all
    mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain,
    unknown_local_recipient_reject_code = 550
    alias_maps = hash:/etc/aliases
    alias_database = hash:/etc/aliases
    debug_peer_level = 2

    debugger_command =
    PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
    xxgdb $daemon_directory/$process_name $process_id & sleep 5

    sendmail_path = /usr/sbin/sendmail.postfix
    newaliases_path = /usr/bin/newaliases.postfix
    mailq_path = /usr/bin/mailq.postfix
    setgid_group = postdrop
    html_directory = no
    manpage_directory = /usr/share/man
    sample_directory = /usr/share/doc/postfix-2.4.3/samples
    readme_directory = /usr/share/doc/postfix-2.4.3/README_FILES
    smtpd_sasl_local_domain =
    smtpd_sasl_auth_enable = yes
    smtpd_sasl_security_options = noanonymous
    broken_sasl_auth_clients = yes
    smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,reject_unauth_destination
    mynetworks = 127.0.0.0/8
    smtpd_tls_auth_only = no
    smtp_use_tls = yes
    smtpd_use_tls = yes
    smtp_tls_note_starttls_offer = yes
    smtpd_tls_key_file = /etc/postfix/ssl/smtpd.key
    smtpd_tls_cert_file = /etc/postfix/ssl/smtpd.crt
    smtpd_tls_CAfile = /etc/postfix/ssl/cacert.pem
    smtpd_tls_loglevel = 1
    smtpd_tls_received_header = yes
    smtpd_tls_session_cache_timeout = 3600
    tls_random_source = dev: /dev/urandom
    smtpd_sasl_authenticated_header = yes
    myhostname = netpoint.homedns.org
    [root@netpoint ~]#


    [root@netpoint ~]# hostname -f
    netpoint.homedns.org
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    This behaviour is fine. At the point where you get the blinking cursor, type:

    ehlo localhost
     
  3. jasthom69

    jasthom69 New Member

    Till,
    Dank fur die hinwiess

    Thanks very much - everthing went smoothly through to the finish, Now installing ISPconfig
     

Share This Page