Postfix ver 2.3.3 554 relay access denied

Discussion in 'Installation/Configuration' started by torlink, May 24, 2014.

  1. torlink

    torlink New Member

    Hi, I'm new here !
    I hope someone can help me to fix this issue with relay access denied.

    Postfix server ip is "10.40.10.31" and the default gateway is one of the public ip of our ISP, we are using this server to only send out weekly pricelist to customers and everything works fine from 10.40.10.0/23 subnet. Now I have added a new subnet 10.40.100.0/23 so the users can send out email from this subnet but we are getting 554 access denied error.
    I have added the new subnet "10.40.100.0" in "mynetworks".


    My postconf:

    [root@smtp-out]/root: postconf -n
    alias_maps = hash:/etc/aliases
    allow_percent_hack = no
    bounce_queue_lifetime = 1d
    command_directory = /usr/local/sbin
    config_directory = /usr/local/etc/postfix
    daemon_directory = /usr/local/libexec/postfix
    default_destination_concurrency_limit = 10
    default_process_limit = 300
    home_mailbox = Maildir/
    local_transport = error:local mail delivery is disabled
    maximal_queue_lifetime = 1d
    mydomain = cdiemail.com
    myhostname = smtp-out.cdiemail.com
    mynetworks = 127.0.0.0, 10.40.10.0/23, 192.168.106.0/24, 10.40.100.0/24
    myorigin = domainname.com
    qmgr_message_active_limit = 40000
    qmgr_message_recipient_limit = 40000
    queue_directory = /usr/postfix
    smtpd_helo_required = yes
    smtpd_recipient_restrictions = check_recipient_access hash:/usr/local/etc/postfix/recipients, reject_non_fqdn_sender, reject_non_fqdn_recipient, check_client_access hash:/usr/local/etc/postfix/mynetworks, reject_unauth_destination, permit_mynetworks, reject
    smtpd_restriction_classes = check_for_valid_sender
    smtpd_sender_restrictions = reject_non_fqdn_sender, reject_non_fqdn_recipient, permit
    transport_maps = hash:/usr/local/etc/postfix/transport
    unknown_address_reject_code = 553
    unknown_client_reject_code = 554
    unknown_hostname_reject_code = 554
    [root@smtp-out]/root:

    Thanks,
    Mike
     

Share This Page