Postfix -all messages are returned as undelivered, if one address is inaccessible

Discussion in 'Server Operation' started by AG_montana, Jul 7, 2015.

  1. AG_montana

    AG_montana New Member

    Hello,

    I am having a problem with Postfix: if someone tries to send email, to e.g. 5 recipients and one of the emails is inaccessible (reason is not important), all 5 emails are returned as undelivered.

    main.cf:
    Code:
    alias_database = hash:/etc/postfix/aliases
    alias_maps = hash:/etc/postfix/aliases
    anvil_rate_time_unit = 30m
    body_checks = regexp:/etc/postfix/body_checks
    body_checks_size_limit = 31200
    bounce_queue_lifetime = 2d
    command_directory = /usr/sbin
    config_directory = /etc/postfix
    daemon_directory = /usr/libexec/postfix
    data_directory = /var/lib/postfix
    default_privs = nobody
    delay_warning_time = 24h
    html_directory = no
    in_flow_delay = 1s
    inet_interfaces = all
    local_recipient_maps = hash:/etc/postfix/aliases, proxy:pgsql:/etc/postfix/relay.cf
    mail_owner = postfix
    mail_spool_directory = /home/m
    mailq_path = /usr/bin/mailq
    manpage_directory = /usr/local/man
    maximal_queue_lifetime = 2d
    message_size_limit = 50000000
    milter_default_action = tempfail
    milter_protocol = 2
    mydestination = $myhostname, localhost.$mydomain, localhost, hash:/etc/postfix/deniedLocalDomain
    mydomain = ###
    myhostname = ###
    mynetworks = ###
    myorigin = $myhostname
    newaliases_path = /usr/bin/newaliases
    parent_domain_matches_subdomains =
    proxy_read_maps = $local_recipient_maps $smtpd_sender_login_maps $transport_maps $virtual_maps $virtual_mailbox_maps
    queue_directory = /var/spool/postfix
    readme_directory = no
    relay_domains = $mydestination
    sample_directory = /etc/postfix
    sendmail_path = /usr/sbin/sendmail
    setgid_group = postdrop
    smtp_sasl_mechanism_filter = plain, login
    smtpd_banner = 01.$myhostname ESMTP
    smtpd_client_event_limit_exceptions = ###
    smtpd_client_new_tls_session_rate_limit = 100
    smtpd_client_recipient_rate_limit = 1000
    smtpd_data_restrictions = reject_unauth_pipelining
    smtpd_discard_ehlo_keywords = silent-discard, dsn
    smtpd_hard_error_limit = 2
    smtpd_helo_required = yes
    smtpd_milters = unix:/var/socks/mimedefang.sock
    smtpd_recipient_limit = 100
    smtpd_recipient_restrictions = reject_unauth_pipelining,    permit_mynetworks,    reject_non_fqdn_recipient,    permit_sasl_authenticated,    check_sender_access hash:/etc/postfix/deniedLocalDomain,        reject_invalid_helo_hostname,    reject_unauth_destination
    smtpd_sasl_auth_enable = yes
    smtpd_sender_login_maps = proxy:pgsql:/etc/postfix/sender.cf
    smtpd_sender_restrictions = permit_mynetworks,    reject_unknown_sender_domain,    reject_non_fqdn_sender,    reject_authenticated_sender_login_mismatch,        permit_sasl_authenticated,    check_sender_access hash:/etc/postfix/deniedLocalDomain,        reject_unknown_address,    reject_unauth_destination
    smtpd_timeout = 40s
    smtpd_tls_cert_file = /etc/postfix/cert2/###.crt
    smtpd_tls_key_file = /etc/postfix/cert2/###.key
    smtpd_tls_loglevel = 1
    smtpd_tls_received_header = no
    smtpd_tls_security_level = may
    smtpd_tls_session_cache_database = btree:/var/lib/postfix/smtpd_scache
    smtpd_tls_session_cache_timeout = 3600s
    soft_bounce = no
    strict_rfc821_envelopes = yes
    tls_random_source = dev:/dev/urandom
    transport_maps = proxy:pgsql:/etc/postfix/transport.cf
    unknown_local_recipient_reject_code = 550
    virtual_gid_maps = static:101
    virtual_mailbox_base = /home/m
    virtual_mailbox_maps = proxy:pgsql:/etc/postfix/aliases.cf
    virtual_uid_maps = static:100
    
    Can you help me?
    Kind regards,
     
    Last edited: Jul 7, 2015

Share This Page