Artem, After reviewing your last post and this, I'd say you have a legitimate point. Sounds like some code rewriting may be needed... WHat I referred to before is deal with OK in postfix, but it doesn't address the tracking of individual recipients in the case of policyd.
That is if I understand this all correctly! :-) --Tobias On Tue, 4 Sep 2007, 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. Artem Bokhan пишет:Hello! I've got problem with legitimate deliveries. Messages with multiply rcpt's are not accepted by policyd May anybody give some workaround? Aug 31 17:03:33 postfix-policyd-greylist: DEBUG: fd: 113 select(): fd 113 is ready for read Aug 31 17:03:33 postfix-policyd-greylist: DEBUG: fd 113: w_read: returning -2 after reading 300 bytes Aug 31 17:03:33 postfix-policyd-greylist: DEBUG: fd: 113 policy_array[113][0]:request=smtpd_access_policy Aug 31 17:03:33 postfix-policyd-greylist: DEBUG: fd: 113 policy_array[113][1]:protocol_state=data Aug 31 17:03:33 postfix-policyd-greylist: DEBUG: fd: 113 policy_array[113][2]:protocol_name=esmtp Aug 31 17:03:33 postfix-policyd-greylist: DEBUG: fd: 113 policy_array[113][3]:client_address=x.x.x.x Aug 31 17:03:33 postfix-policyd-greylist: DEBUG: fd: 113 policy_array[113][4]:client_name=domain.com Aug 31 17:03:33 postfix-policyd-greylist: DEBUG: fd: 113 policy_array[113][5]:reverse_client_name=domain.com Aug 31 17:03:33 postfix-policyd-greylist: DEBUG: fd: 113 policy_array[113][6]:helo_name=domain.com Aug 31 17:03:33 postfix-policyd-greylist: DEBUG: fd: 113 policy_array[113][7]:[EMAIL PROTECTED] Aug 31 17:03:33 postfix-policyd-greylist: DEBUG: fd: 113 policy_array[113][8]:recipient= Aug 31 17:03:33 postfix-policyd-greylist: DEBUG: fd: 113 policy_array[113][9]:recipient_count=9 Aug 31 17:03:33 postfix-policyd-greylist: DEBUG: fd: 113 policy_array[113][10]:queue_id= Aug 31 17:03:33 postfix-policyd-greylist: DEBUG: fd: 113 policy_array[113][11]:instance=blabla Aug 31 17:03:33 postfix-policyd-greylist: DEBUG: fd: 113 policy_array[113][12]:size=53178 Aug 31 17:03:33 postfix-policyd-greylist: DEBUG: fd: 113 policy_array[113][13]:etrn_domain= Aug 31 17:03:33 postfix-policyd-greylist: DEBUG: fd: 113 host_array[113][0]: domain.com Aug 31 17:03:33 postfix-policyd-greylist: DEBUG: fd: 113 host_array[113][2]: x.x.x.x Aug 31 17:03:33 postfix-policyd-greylist: DEBUG: fd: 113 host_array[113][3]: x.x.x.% Aug 31 17:03:33 postfix-policyd-greylist: DEBUG: fd: 113 host_array[113][4]: x.x.%.% Aug 31 17:03:33 postfix-policyd-greylist: DEBUG: fd: 113 host_array[113][5]: x.%.%.% Aug 31 17:03:33 postfix-policyd-greylist: DEBUG: fd: 113 host_array[113][6]: sender Aug 31 17:03:33 postfix-policyd-greylist: DEBUG: fd: 113 host_array[113][7]: domain.com Aug 31 17:03:33 postfix-policyd-greylist: DEBUG: fd: 113 triplet_array[113][0]: x.x.x.x Aug 31 17:03:33 postfix-policyd-greylist: DEBUG: fd: 113 triplet_array[113][1]: [EMAIL PROTECTED] Aug 31 17:03:33 postfix-policyd-greylist: DEBUG: fd: 113 triplet_array[113][3]: 53178 Aug 31 17:03:33 postfix-policyd-greylist: DEBUG: fd: 113 triplet_array[113][5]: domain.com Aug 31 17:03:33 postfix-policyd-greylist: DEBUG: fd: 113 triplet_array[113][6]: blablabla Aug 31 17:03:33 postfix-policyd-greylist: invalid triplet_array[113][2]: (greylist recipient): Aug 31 17:03:33 postfix-policyd-greylist: DEBUG: fd: 113 select(): fd 113 is ready for write Aug 31 17:03:33 postfix-policyd-greylist: DEBUG: fd: 113 returning after 55 bytes of data written Aug 31 17:03:33 postfix-policyd-greylist2: connection from: 127.0.0.1 port: 55800 slots: 250 of 4096 used Aug 31 17:03:33 postfix-policyd-greylist2: invalid triplet_array[506][2]: (greylist recipient): Aug 31 17:03:33 postfix-mx/smtpd-mx[32614]: NOQUEUE: reject: DATA from domain.com[x.x.x.x]: 450 4.7.1 <DATA>: Data command rejected: Policy Rejection- Invalid data; from=<[EMAIL PROTECTED]> proto=ESMTP helo=<domain.com> ------------------------------------------------------------------------- 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 [email protected] https://lists.sourceforge.net/lists/listinfo/policyd-users------------------------------------------------------------------------- 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 [email protected] https://lists.sourceforge.net/lists/listinfo/policyd-users
------------------------------------------------------------------------- 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 [email protected] https://lists.sourceforge.net/lists/listinfo/policyd-users
