Artem Bokhan wrote:
> The reason of this behaviour is:
> 
> I use policyd with smtpd_data_restrictions to allow fast sender 
> verification by foreign clients.
> With smtpd_data_restrictions and multiply rcpt's per envelope no 
> recipients are passed to policyd by postfix.
> 
> Uder that conditions this part of code causes an error
> 
>     if(triplet_array[fd][2][0] == 0x00) {
>       logmessage("invalid triplet_array[%d][2]: (greylist recipient): 
> %s\n", fd, triplet_array[fd][2]);
>       goto err;
>     }
> 
> it would be nice if checking of NULL recipient would be configurable.

You can not use greylisting without *all* the required information
needed to make the "triplet". A better / robust solution is to have
2 instances of Policyd, one that does greylisting which happens at
the recipient_restrictions and one that does throttling at endofdata.

Cami

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
policyd-users mailing list
policyd-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/policyd-users

Reply via email to