Re: ratelimiting locally originating messages

2010-04-09 Thread Wietse Venema
Vladimir Vassiliev: > > Ok, I was not clear with my first message > Here is my config: > > main.cf: > smtpd_recipient_restrictions = check_policy_service unix:private/policy > > permit_mynetworks, > > reject_unauth_destination >

Re: ratelimiting locally originating messages

2010-04-09 Thread ram
On Fri, 2010-04-09 at 15:03 +0400, Vladimir Vassiliev wrote: > Hi postfixers, > > thanks to http://www.postfix.org/QSHAPE_README.html I learned how to > limit rate of sending messages which arrives via smtpd. > Now I tries to do the same with locally originating (via sendmail) > messages. It se

Re: ratelimiting locally originating messages

2010-04-09 Thread Vladimir Vassiliev
Ok, I was not clear with my first message Here is my config: main.cf: smtpd_recipient_restrictions = check_policy_service unix:private/policy permit_mynetworks, reject_unauth_destination master.cf: slow_smtp unix - -

Re: ratelimiting locally originating messages

2010-04-09 Thread Wietse Venema
Vladimir Vassiliev: > > I need sender based selection You wrote that you learned from QSHAPE_REAME how to limit the rate of sending messages which arrives via smtpd. QSHAPE_REAME does not cover sender-dependent selection; and I already mentioned that its solutions to limit the sending rate limi

Re: ratelimiting locally originating messages

2010-04-09 Thread Vladimir Vassiliev
I need sender based selection so I used policy server to choose right transport: smtpd_recipient_restrictions = check_policy_service unix:private/policy permit_mynetworks, reject_unauth_destination And smtpd_*_restrictions don't

Re: ratelimiting locally originating messages

2010-04-09 Thread Wietse Venema
Vladimir Vassiliev: > > Hi postfixers, > > thanks to http://www.postfix.org/QSHAPE_README.html I learned how to > limit rate of sending messages which arrives via smtpd. > Now I tries to do the same with locally originating (via sendmail) > messages. It seems usual recipes doesn't work. The te