Ok, my apologies. It seems some of the answers focused on "it doesn't work like that"
What I need is to have any IPs listed in the /etc/postfix/access file with a directive of "OK" be allowed to send mail Any IPs attempting to send mail to this particular mail server that are not listed in that file are denied access. Please let me know if you need more clarification Thanks Rich -----Original Message----- From: owner-postfix-us...@postfix.org [mailto:owner-postfix-us...@postfix.org] On Behalf Of Noel Jones Sent: Thursday, May 19, 2016 12:21 PM To: postfix-users@postfix.org Subject: Re: postfix ignoring access file? On 5/19/2016 10:35 AM, Gomes, Rich wrote: > Postfix is the corporate standard so this has been a bit of a learning curve > for me. > I'd like to keep it pretty simple, so there must be a way to have the access > file behave in the same way it does in Sendmail. > Specifically, I would like to only allow those entries in the access file > (with a directive of OK) allowed to send mail, if it is not in the file, it > should get a Relaying denied message and be dropped. > > Does anyone have any suggesstions? > We're trying to help. It seems your question isn't clear to us. A number of people have given reasonable answers which apparently don't fit your requirements. Please describe in detail the behavior you want, without referencing Sendmail nor terms such as "access" and "relay" that apparently mean different things to different people. Then, if a suggested solution doesn't meet your requirements, please describe the defect rather than just repeating the question. Thanks. -- Noel Jones