On Sat, 11 Jul 2009, ad...@gg-lab.net wrote:

> And, i've also found postfwd, but i can't see how can i use it to
> limit mails in number.

Assuming you want to limit mails per envelope sender, the following
(untested) rule should work:

  id=MAX_PER_HOUR ; protocol_state=END-OF-MESSAGE ; \
    action==rate($$sender/100/3600/450 4.7.1 max 100 mails per hour)

With this, query postfwd in smtpd_end_of_data_restrictions.  If you have more
questions about postfwd, follow-up off-list or on the postfwd mailing list.

-- 
Sahil Tandon <sa...@tandon.net>

Reply via email to