Postfix Issues with Suse 10.2 perfect setup

Discussion in 'Installation/Configuration' started by Azimuth, Sep 5, 2007.

  1. Azimuth

    Azimuth New Member

    I followed the perfect setup walkthrough and created 4 domains with multiple accounts. The server ran fine for a few days, but now all mail is stuck in the mailqueue

    If I look in the postfix queue I see..
    delivery temporarily suspended: connect to simba.computersaustin.com[24.227.164.226]: Connection timed out

    pinging simba.computersaustin.com results in replies from localhost
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    The error message means that the mail server on simba.computersaustin.com can not be reached. Maybe the mail server on the host simba.computersaustin.com is stopped or port 21 is blocked on a firewall. If you host your server at home, it might be that your access provider blocked port 21.
     
  3. Azimuth

    Azimuth New Member

    I am looking on the mailqueue in simba using webmin.
    so it can't connect to itself
    I am able to get mail into the primary domain.
     
  4. Azimuth

    Azimuth New Member

    Below is my main.cf

    # SOFT BOUNCE

    # LOCAL PATHNAME INFORMATION

    queue_directory = /var/spool/postfix

    command_directory = /usr/sbin

    daemon_directory = /usr/lib/postfix

    # QUEUE AND PROCESS OWNERSHIP

    mail_owner = postfix

    # INTERNET HOST AND DOMAIN NAMES

    # SENDING MAIL

    # RECEIVING MAIL

    # REJECTING MAIL FOR UNKNOWN LOCAL USERS

    unknown_local_recipient_reject_code = 450

    # TRUST AND RELAY CONTROL

    # INTERNET OR INTRANET

    # REJECTING UNKNOWN RELAY USERS

    # INPUT RATE CONTROL

    # ADDRESS REWRITING

    # ADDRESS REDIRECTION (VIRTUAL DOMAIN)

    # "USER HAS MOVED" BOUNCE MESSAGES

    # TRANSPORT MAP

    # ALIAS DATABASE

    # ADDRESS EXTENSIONS (e.g., user+foo)

    # DELIVERY TO MAILBOX

    home_mailbox = Maildir/

    # JUNK MAIL CONTROLS

    # FAST ETRN SERVICE

    # SHOW SOFTWARE VERSION OR NOT

    # PARALLEL DELIVERY TO THE SAME DESTINATION

    # DEBUGGING CONTROL

    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

    # INSTALL-TIME CONFIGURATION INFORMATION

    sendmail_path = /usr/sbin/sendmail

    newaliases_path = /usr/bin/newaliases

    mailq_path = /usr/bin/mailq

    setgid_group = maildrop

    html_directory = /usr/share/doc/packages/postfix/html

    manpage_directory = /usr/share/man

    sample_directory = /usr/share/doc/packages/postfix/samples

    readme_directory = /usr/share/doc/packages/postfix/README_FILES
    inet_protocols = all
    biff = no
    mail_spool_directory = /var/mail
    canonical_maps = hash:/etc/postfix/canonical
    virtual_alias_maps = hash:/etc/postfix/virtual
    virtual_alias_domains = hash:/etc/postfix/virtual
    relocated_maps = hash:/etc/postfix/relocated
    transport_maps = hash:/etc/postfix/transport
    sender_canonical_maps = hash:/etc/postfix/sender_canonical
    masquerade_exceptions = root
    masquerade_classes = envelope_sender, header_sender, header_recipient
    myhostname = simba.$mydomain
    program_directory = /usr/lib/postfix
    inet_interfaces = all
    masquerade_domains =
    #mydestination = $myhostname, localhost.$mydomain
    defer_transports =
    mynetworks_style = subnet
    disable_dns_lookups = no
    relayhost =
    mailbox_command =
    mailbox_transport =
    strict_8bitmime = no
    disable_mime_output_conversion = no
    smtpd_sender_restrictions = hash:/etc/postfix/access
    smtpd_client_restrictions =
    smtpd_helo_required = no
    smtpd_helo_restrictions =
    strict_rfc821_envelopes = no
    smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,check_relay_domains
    smtp_sasl_auth_enable = no
    smtpd_sasl_auth_enable = yes
    smtpd_use_tls = yes
    smtp_use_tls = yes
    alias_maps = hash:/etc/aliases
    mailbox_size_limit = 0
    message_size_limit = 10240000
    mydomain = computersaustin.com
    mynetworks = 127.0.0.0/8
    smtpd_sasl_local_domain =
    smtpd_sasl_security_options = noanonymous
    broken_sasl_auth_clients = yes
    smtpd_tls_auth_only = no
    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 = 3600s
    tls_random_source = dev:/dev/urandom

    virtual_maps = hash:/etc/postfix/virtusertable

    mydestination = /etc/postfix/local-host-names
     
  5. till

    till Super Moderator Staff Member ISPConfig Developer

    Please make sure that the domain simba.computersaustin.com is registered in dns and points to your server IP address.

    Also change the line:

    mydomain = computersaustin.com

    to:

    mydomain = simba.computersaustin.com

    in postfix main.cf and restart postfix.
     

Share This Page