That didn't work. I chose 0.0.0.0 on purpose just so it would be open to everything (it internal so no risk on internet access) but that didn't work either.
-bash-4.1$ sudo postconf -n alias_database = hash:/etc/aliases alias_maps = hash:/etc/aliases allow_min_user = yes command_directory = /usr/sbin config_directory = /etc/postfix daemon_directory = /usr/libexec/postfix debug_peer_level = 2 html_directory = no inet_interfaces = all inet_protocols = ipv4 local_recipient_maps = mail_owner = postfix mailq_path = /usr/bin/mailq.postfix message_size_limit = 20480000 mydestination = mydomain = mydomain.com mynetworks = 0.0.0.0/24 newaliases_path = /usr/bin/newaliases.postfix proxy_interfaces = queue_directory = /var/spool/postfix readme_directory = /usr/share/doc/postfix-2.3.3/README_FILES relay_domains = $myhostname, hash:/etc/postfix/relay_domains relay_recipient_maps = hash:/etc/postfix/wildcard_relay_recipients, ldap:/etc/postfix/ldap_relay_recipients.cf, ldap:/etc/postfix/ldap_groups_recipients.cf relayhost = [smtp.fss.aramark.com] sample_directory = /usr/share/doc/postfix-2.3.3/samples sender_canonical_maps = regexp:/etc/postfix/sender_canonical sendmail_path = /usr/sbin/sendmail.postfix setgid_group = postdrop smtpd_client_restrictions = check_client_access cidr:/etc/postfix/client_access.cidr reject transport_maps = hash:/etc/postfix/transport unknown_local_recipient_reject_code = 550 Thanks -----Original Message----- From: owner-postfix-us...@postfix.org [mailto:owner-postfix-us...@postfix.org] On Behalf Of Wietse Venema Sent: Tuesday, May 24, 2016 6:23 AM To: Postfix users <postfix-users@postfix.org> Subject: Re: postfix ignoring access file? Gomes, Rich: > Please Help > > I have implemented this method but it has had an unexpected and unwelcome > effect. > All external mail (email not in the relay_domains file) is being blocked with > the following error: > > NOQUEUE: reject: RCPT from unknown[10.40.80.11]: 554 5.7.1 > <nou...@someotherdomain.com>: Relay access denied; Edit main.cf:mynetworks. DO NOT add the access map, instead add the networks that have relay permission. For more questions, include the output from: postconf -nf Wietse