Postfix out going mail gets bounce or trace failure.

Discussion in 'Server Operation' started by abcinc, Jul 1, 2017.

  1. abcinc

    abcinc New Member

    Here are mail log output
    Jun 30 15:09:10 mail5 postfix/smtp[14501]: 6D2F512E07D2: to=<yyy@gmail.com>, relay=gmail-smtp-in.l.google.com[74.125.28.27]:25, delay=25985, delays=25982/0.7/0.51/1.9, dsn=4.3.0, status=deferred (bounce or trace service failure)
    Jun 30 15:09:10 mail5 postfix/smtp[14510]: C446F12E0D45: to=<zzz@progressive.com>, relay=aresap03.progressive.com[170.218.236.63]:25, delay=621508, delays=621505/0.05/2.9/0.28, dsn=4.3.0, status=deferred (bounce or trace service failure)

    main.cf
    bounce_queue_lifetime = 1d
    delay_warning_time = 4h
    myhostname = mail5.abcsitehosting.com
    smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
    biff = no
    inet_protocols = ipv4
    virtual_transport = dovecot
    virtual_mailbox_domains = mysql:/etc/postfix/mysql-virtual-mailbox-domains.cf
    virtual_mailbox_maps = mysql:/etc/postfix/mysql-virtual-mailbox-maps.cf
    virtual_alias_maps = mysql:/etc/postfix/mysql-virtual-alias-maps.cf
    smtpd_tls_cert_file = /etc/ssl/new/mail5.abcsitehosting.com.crt
    smtpd_tls_key_file = /etc/ssl/new/mail5.abcsitehosting.com.key
    smtpd_use_tls = yes
    smtpd_tls_auth_only = yes
    smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
    smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
    smtpd_sasl_type = dovecot
    smtpd_sasl_path = private/auth
    smtpd_sasl_auth_enable = yes
    smtpd_recipient_restrictions = permit_sasl_authenticated, permit_mynetworks, reject_unauth_destination
    smtpd_sasl_local_domain = $myhostname
    broken_sasl_auth_clients = yes
    smtp_tls_security_level=may
    smtpd_tls_security_level = may
    smtp_tls_note_starttls_offer = yes
    smtpd_tls_loglevel = 0
    smtpd_tls_received_header = yes
    smtpd_tls_session_cache_timeout = 36s
    tls_random_source = dev:/dev/urandom
    smtpd_sasl_authenticated_header = yes
    smtpd_sender_restrictions = permit_sasl_authenticated, permit_tls_clientcerts, reject_unknown_sender_domain, reject_unlisted_sender
    smtpd_tls_mandatory_protocols = SSLv3, TLSv1
    smtpd_tls_mandatory_ciphers = medium
    append_dot_mydomain = no
    readme_directory = no
    smtpd_relay_restrictions = permit_mynetworks permit_sasl_authenticated reject_unauth_destination
    myorigin = $mydomain
    mydestination = $myhostname, localhost.$mydomain, localhost
    mynetworks = 127.0.0.0/8 192.168.6.0/24
    mailbox_command = /usr/lib/dovecot/deliver -c /etc/dovecot/conf.d/01-dovecot-postfix.conf -n -m "${EXTENSION}"
    mailbox_size_limit=0
    message_size_limit = 34865152
    dovecot_destination_recipient_limit = 1
    recipient_delimiter = +
    content_filter = smtp-amavis:[127.0.0.1]:10024
    proxy_read_maps = $local_recipient_maps
    local_recipient_maps = unix:passwd.byname
    mydomain = abcsitehosting.com

    MASTER.cf
    smtp inet n - n - - smtpd
    submission inet n - - - - smtpd
    -o content_filter=spamassassin
    -o smtpd_tls_security_level=encrypt
    -o smtpd_sasl_auth_enable=yes
    -o smtpd_client_restrictions=permit_sasl_authenticated,reject
    -o milter_macro_daemon_name=ORIGINATING
    smtps inet n - - - - smtpd
    -o smtpd_tls_wrappermode=yes
    -o smtpd_sasl_auth_enable=yes
    -o smtpd_client_restrictions=permit_sasl_authenticated,reject
    -o milter_macro_daemon_name=ORIGINATING
    pickup fifo n - n 60 1 pickup
    cleanup unix n - n - 0 cleanup
    qmgr fifo n - n 300 1 qmgr
    tlsmgr unix - - n 1000 1 tlsmgr
    rewrite unix - - n - - trivial-rewrite
    bounce unix n - n - 0 bounce
    defer unix - - n - 0 bounce
    trace unix - - n - 0 bounce
    verify unix n - n - 1 verify
    flush unix n - n 1000 0 flush
    proxymap unix n - n - - proxymap
    proxywrite unix n - n - 1 proxymap
    smtp unix - - n - - smtp
    relay unix n - n - - smtp
    showq unix n - n - - showq
    error unix n - - - - error
    retry unix - - - - - error
    discard unix n - - - - discard
    local unix - n n - - local
    virtual unix n n n - - virtual
    lmtp unix n - - - - lmtp
    anvil unix - - - - 1 anvil
    scache unix - - - - 1 scache
    dovecot unix - n n - - pipe
    flags=DRhu user=vmail:vmail argv=/usr/lib/dovecot/deliver -f ${sender} -d ${user}@${nexthop}
    maildrop unix n n n - - pipe
    flags=DRhu user=vmail argv=/usr/bin/maildrop -d ${recipient}
    uucp unix n n n - - pipe
    flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail ($recipient)
    ifmail unix n n n - - pipe
    flags=F user=ftn argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient)
    bsmtp unix n n n - - pipe
    flags=Fq. user=bsmtp argv=/usr/lib/bsmtp/bsmtp -t$nexthop -f$sender $recipient
    scalemail-backend unix n n n - 2 pipe
    flags=R user=scalemail argv=/usr/lib/scalemail/bin/scalemail-store ${nexthop} ${user} ${extension}
    mailman unix n n n - - pipe
    flags=FR user=list argv=/usr/lib/mailman/bin/postfix-to-mailman.py
    ${nexthop} ${user}
    spamassassin unix - n n - - pipe
    user=spamd argv=/usr/bin/spamc -f -e
    /usr/sbin/sendmail -oi -f ${sender} ${recipient}
     

Share This Page