Edwin Marqe:
>   test-policyd       unix  -       n       n       -       -       pipe
>     flags=F user=dangerous argv=/opt/postfix_policy.php $sender $size 
> $recipient
> 
> I've noticed that in this case the parameters are indeed forwarded to
> the bash script, but Postfix doesn't expect the script to return any
> value like 'action=DUNNO', it just assumes the external script will

AS DOCUMENTED the pipe(8) daemon receives an exit status from the
external command, and optionally receives text on stdout or stderr
from the external command.

The SMTPD policy protocol uses a completely different Postfix
interface, as described in SMTPD_POLICY_README.html

        Wietse

Reply via email to