OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Re: check_policy_service and several envelope rcpt's

From: Wietse Venema (wietseporcupine.org)
Date: Mon Sep 03 2007 - 08:06:28 CDT


Artem Bokhan:
> What value should be transmitted to policy server in "recipient" field,
> when the message has several envelope rcpt's?

With smtpd_recipient_restrictions, Postfix policy is invoked
once for each individual RCPT TO command.

        Wietse

> I've got this field empty when rcpt's>1, and policyd treat that as
> error, so message is deffered.
>
> Sep 3 13:41:03 postfix-policyd-greylist: invalid triplet_array[46][2]:
> (greylist recipient):
> Sep 3 13:41:03 postfix-policyd-greylist: DEBUG: fd: 46
> policy_array[46][8]:recipient=
> Sep 3 13:41:03 postfix-policyd-greylist: DEBUG: fd: 46
> policy_array[46][9]:recipient_count=2
>
>
>