On Fri, Jul 08, 2011 at 10:19:14PM +0200, Jeroen Geilman wrote:

>> Just don't return any result for lookup key.
>>
>
>
> Didn't the OP say that that produced a warning ?

No, what produced a warning, was returning a restring name that expands
to an empty list. Instead, the lookup key should not be present in the
table.

> We haven't seen said warning, of course - it could be that he means postfix 
> complains when a /policy script/ produces no output.

Policy servers can return "dunno", they emulate access(5). However, one
should not rely on "dunno", ... in restriction lists:

        # Not documented to work:
        #
        smtpd_client_restrictions = dunno
        smtpd_restriction_classes = foo
        foo = dunno

        # Definitely won't work:
        smtpd_restriction_classes = foo
        foo =

-- 
        Viktor.

Reply via email to