SMTP-AUTH timeout

Discussion in 'Installation/Configuration' started by johannsky, Nov 16, 2006.

  1. johannsky

    johannsky New Member

    I have installed Fedora 6 and followed the step-by-step installation but when i run the command # telnet localhost 25 the following result displays:

    [root@safariktech ssl]# telnet localhost 25
    Trying 127.0.0.1...
    Connected to localhost.localdomain (127.0.0.1).
    Escape character is '^]'.
    220 safariktech.com ESMTP Postfix
    421 4.4.2 safariktech.com Error: timeout exceeded
    Connection closed by foreign host.

    what does it mean?

    by the way, i have fedora 4 installed also and serve as firewall.
     
  2. falko

    falko Super Moderator Howtoforge Staff

    What's the output of netstat -tap? What's in /etc/postfix/main.cf (please strip out the comments) and /etc/hosts? What's the output of
    Code:
    hostname -f
    ?

    Did you disable SELinux on your system?
     
  3. johannsky

    johannsky New Member

    output

    [root@safariktech ~]# netstat -tap
    Active Internet connections (servers and established)
    Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
    tcp 0 0 localhost.localdomain:2208 *:* LISTEN 1906/hpiod
    tcp 0 0 *:vpps-qua *:* LISTEN 1762/rpc.statd
    tcp 0 0 *:mysql *:* LISTEN 2039/mysqld
    tcp 0 0 localhost.localdomain:59274 *:* LISTEN 1911/python
    tcp 0 0 *:sunrpc *:* LISTEN 1743/portmap
    tcp 0 0 *:hosts2-ns *:* LISTEN 2473/ispconfig_http
    tcp 0 0 localhost.localdomai:domain *:* LISTEN 2602/named
    tcp 0 0 localhost.localdomain:ipp *:* LISTEN 1921/cupsd
    tcp 0 0 localhost.localdomain:rndc *:* LISTEN 2602/named
    tcp 0 0 *:smtp *:* LISTEN 2560/master
    tcp 0 0 192.168.0.101:53311 wr-in-f189.google.com:http ESTABLISHED 3155/firefox-bin
    tcp 1 0 192.168.0.101:47594 mirror.hiwaay.net:http CLOSE_WAIT 2236/python
    tcp 0 0 192.168.0.101:34771 server1.howtoforge.com:http ESTABLISHED 3155/firefox-bin
    tcp 0 1 192.168.0.101:37707 red.as-us.falkag.net:http LAST_ACK -
    tcp 1 0 192.168.0.101:59777 fpserv.dulug.duke.edu:http CLOSE_WAIT 2236/python
    tcp 0 0 192.168.0.101:47985 216.52.219.135:http ESTABLISHED 3155/firefox-bin
    tcp 0 0 192.168.0.101:38176 66.249.83.19:http ESTABLISHED 3155/firefox-bin
    tcp 0 0 192.168.0.101:38174 66.249.83.19:http ESTABLISHED 3155/firefox-bin
    tcp 0 0 192.168.0.101:34808 va-in-f104.google.com:http ESTABLISHED 3155/firefox-bin
    tcp 0 0 192.168.0.101:34809 va-in-f104.google.com:http ESTABLISHED 3155/firefox-bin
    tcp 0 0 192.168.0.101:34811 va-in-f104.google.com:http ESTABLISHED 3155/firefox-bin
    tcp 0 0 *:imaps *:* LISTEN 2067/dovecot
    tcp 0 0 *:pop3s *:* LISTEN 2067/dovecot
    tcp 0 0 *:pop3 *:* LISTEN 2067/dovecot
    tcp 0 0 *:imap *:* LISTEN 2067/dovecot
    tcp 0 0 *:http *:* LISTEN 2497/httpd
    tcp 0 0 safariktech.com:domain *:* LISTEN 2602/named
    tcp 0 0 *:ssh *:* LISTEN 1930/sshd
    tcp 0 0 safariktech.com:ipp *:* LISTEN 1921/cupsd
    tcp 0 0 safariktech.com:rndc *:* LISTEN 2602/named
    tcp 0 0 *:https *:* LISTEN 2497/httpd



    /etc/postfix/main.cf

    queue_directory = /var/spool/postfix

    command_directory = /usr/sbin

    daemon_directory = /usr/libexec/postfix

    mail_owner = postfix

    inet_interfaces = all

    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.3.3/samples

    readme_directory = /usr/share/doc/postfix-2.3.3/README_FILES
    smtpd-sasl-local_domain =
    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
    smtpd_use-tls = yes
    smtpd_use_tls = yes
    smtp_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_timeout = 3600s
    tls_random_source = dev:/dev/urandom
    home_mailbox = Maildir/
    mailbox_command =

    virtual_maps = hash:/etc/postfix/virtusertable

    mydestination = /etc/postfix/local-host-names



    /etc/hosts
    # Do not remove the following line, or various programs
    # that require network functionality will fail.
    127.0.0.1 localhost.localdomain localhost

    ::1 safariktech.com safariktech localhost.localdomain localhost



    [root@safariktech ~]# hostname -f
    safariktech.com
     
  4. falko

    falko Super Moderator Howtoforge Staff

    Please run
    Code:
    postconf -e 'myhostname = safariktech.com'
    and restart Postfix.
     

Share This Page