Cami Sardinha schrieb:
> Edi Füllemann wrote:
>   
>> invalid triplet_array[8][2]: (recipient throttle):
>>
>> As I have turned off everything except throttling, I do not expect policyd 
>> to care about triplets.
>>
>> The server is debian etch with policyd version 1.80
>>
>> This is from main.cf
>> smtpd_recipient_restrictions =
>>         permit_mynetworks,
>>         permit_sasl_authenticated,
>>         reject_unauth_destination,
>>         ...
>>         check_policy_service inet:[192.168.1.6]:10031,
>>         permit
>>
>> smtpd_end_of_data_restrictions =
>>         check_policy_service inet:[192.168.1.7]:10031,
>>         permit
>>     
>
> Recipient Throttling can not work at smtpd_end_of_data_restrictions.
> What happens when 1 message has multiple recipients?
>
> Cami
>   
Yes, the problem arises as soon as there is a message with more than one 
recipient. As far as I know, Postfix does not pass multiple recipient 
addresses to policyd when it is invoked at 
smtpd_end_of_data_restrictions. Therefore recipient throttle cannot work 
at this point.
Now I put recipient throttle together with the greylisting stuff into 
the first instance of policyd that is invoked with 
smtpd_recipient_restrictions.
The second instance of policyd is invoked at 
smtpd_end_of_data_restrictions and does only sender throttle but nothing 
else.

This seems to work now. Thank you for the hint.

Edi

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Register now and save $200. Hurry, offer ends at 11:59 p.m., 
Monday, April 7! Use priority code J8TLD2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
policyd-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/policyd-users

Reply via email to