On 28/10/2020 15:53, Allen Coates wrote:

On 28/10/2020 15:24, Viktor Dukhovni wrote:
On Wed, Oct 28, 2020 at 09:05:40AM +0000, Allen Coates wrote:

Some time ago (5 years maybe) I discovered that "OK" was not being universally
recognised in every access list;  I cultivated the habit of using the words
"ACCEPT" and REJECT" - and have had no problems since.
That's odd, because in fact Postfix does not support "ACCEPT", but
smtpd(8) definitely supports "OK" in *ALL* access(5) tables:
If I recall rightly, it was about the time I started using postscreen, and I was
using the file postscreen_access.cidr as a whitelist to bypass the tests in
smtpd_sender_restrictions.

But it was a LONG time ago, and all I can remember is that there was something
about "OK" that didn't give the results I expected.

I will have to have a "play" again...

The only acceptable commands for postscreen_access_list (per documentation) are: permit_my_networks / permit / reject / dunno / type:table. OK is not acceptable here.

Reply via email to