On 13 February 2018 at 11:43, Voytek <li...@sbt.net.au> wrote:
> On Tue, February 13, 2018 9:18 pm, Dominic Raferd wrote:
> > In your case you can put either the ip or the client address onto a new
> > line in the file referenced by check_client_access, followed by ' OK', and
> >  then postmap it afterwards.
> ..
> forgot to ask, is there some command to test such change to confirm ?

If there is something wrong you will see the error when you do:
postmap hash:/etc/postfix/client_checks

For failsafe, make changes to a copy of client_checks in another
location and then postmap this, if no error then copy the amended
client_checks file into /etc/postfix and postmap there.

The changes will be implemented in active postfix pretty quickly after
postmap, but to force immediately do:
postfix reload

Reply via email to