I did mistake in previous letter, the error occurs with FAILSAFE=0, when the number of rcpts is more then 1. So SENDERMSGLIMIT=512, SENDERRCPTLIMIT=3600 make no sense.
The reason is, I think, when the envelope has more then one rcpt, postfix sends "recipient" field empty. policyd treats that as error. Sep 3 11:50:18 postfix-policyd-greylist: invalid triplet_array[103][2]: (greylist recipient): Sep 3 11:50:18 postfix-policyd-greylist: DEBUG: fd: 103 policy_array[103][8]:recipient= Sep 3 11:50:18 postfix-policyd-greylist: DEBUG: fd: 103 policy_array[103][9]:recipient_count=2 Sep 3 11:50:18 postfix-policyd-greylist: DEBUG: fd: 103 policy_array[103][10]:queue_id= Sep 3 11:50:18 postfix-policyd-greylist: DEBUG: fd: 103 policy_array[103][11]:instance=2645.46db928a.53676.0 Sep 3 11:50:18 postfix-policyd-greylist: DEBUG: fd: 103 policy_array[103][12]:size=1552 Tobias J. Kreidl ?????: > On Sat, 1 Sep 2007, Bokhan Artem wrote: > > >> With large numbers per mailer envelope (more then one) policyd thinks >> that it's error. With FAILSAVE=1 in conf such messages are rejected with >> 4xx error. >> >> Tobias Kreidl ?????: >> >>> Are there problems with a lot of invalid recipients, or just large numbers >>> per mailer envelope? >>> >>> In any case, in postfix, try setting these in main.cf: >>> >>> smtpd_recipient_limit=512 (max. number per envelope) >>> smtpd_junk_command_limit=1000 (lets real addresses in envelopes get >>> delivered to, >>> while weeding out the bad ones). >>> >>> This latter one got me for a long time, because we got a lot of email to >>> old lists, so some users still existed on the system and some did not. Let >>> me know if that helps! >>> >>> Cheers, >>> --Tobias >>> >>> >>> >>>>>> I've got problem with legitimate deliveries. Messages with multiply >>>>>> rcpt's are not accepted by policyd >>>>>> May anybody give some workaround? >>>>>> > > It might be necessary to increase the total number that SENDERRCPTLIMIT is > set to compared to SENDERMSGLIMIT in the Sender Throttle section of > policyd.conf if you regularly get large recipient envleopes (for example, > from mailing lists). As a rule of thumb, I'd say you want something like: > > SENDERRCPTLIMIT = SENDERMSGLIMIT x 20 > > In any case, with smtpd_recipient_limit and smtpd_junk_command_limit > set to reasonably high values in postfix (like 500 and 1000), we have not > seen this problem since. > > Just out of curiosity, how many recipients are you seeing in your mail > envelope? > > --Tobias > > ------------------------------------------------------------------------- > 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 > ------------------------------------------------------------------------- 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