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"

In my main.cf I added

  smtpd_client_restrictions =
    sleep 1,
    permit_mynetworks
    reject_unauth_pipelining
+   check_ns_access pcre:${config_directory}/ns_access.pcre

Checking

  postconf | grep ns_acc
    smtpd_client_restrictions = sleep 1, permit_mynetworks 
reject_unauth_pipelining check_ns_access   
pcre:${config_directory}/ns_access.pcre

The config sees it.

So back to the docs.  But when I google on

  check_ns_access site:postfix.org

It just returns

  Your search - check_ns_access site:postfix.org - did not match any documents.

Sorry if I'm missing something obvious, but - where is this documented?

Reply via email to