On Mon, Mar 28, 2016 at 06:03:53PM -0700, jaso...@mail-central.com wrote: > Viktor > > On Mon, Mar 28, 2016, at 04:25 PM, Viktor Dukhovni wrote: > > main.cf: > > smtpd_client_restrictions = > > check_ns_access pcre:${config_directory}/ns-access.pcre > > I'm working on setting this up. > > When I use your example, in my logs I see > > warning: unknown smtpd restriction: "check_ns_access"
Sorry, that's: http://www.postfix.org/postconf.5.html#check_client_ns_access And yes, the restriction class needs to be exactly the same when defined as when it is used. Go with "_" throughout. -- Viktor.