Re: Rate limiting with anvil

2009-11-25 Thread Victor Duchovni
On Wed, Nov 25, 2009 at 01:20:45PM +0100, Daniel Ryslink wrote: > anvil_rate_time_unit = 300 > mynetworks = $config_directory/our_network_blocks What is in this file? > smtpd_client_connection_rate_limit = 30 > smtpd_client_message_rate_limit = 100 > smtpd_client_recipient_rate_limit = 60 These

Re: Rate limiting with anvil

2009-11-25 Thread Wietse Venema
By default, Postfix will exclude clients in mynetworks from smtpd_client_mumble_limits. You may want to specify a separate list for mynetworks (relay control) and for anvil (rate control). http://www.postfix.org/postconf.5.html#smtpd_client_event_limit_exceptions (with Postfix 2.1, this was calle

Re: Rate limiting with anvil

2009-11-25 Thread Daniel Ryslink
Thank you for answering, here is the requested information: According to the instructions in the mailing list welcome message, send postconf -n output instead of cut-and-paste. alias_database = hash:/etc/mail/aliases alias_maps = hash:/etc/mail/aliases allow_min_user = yes allow_percent_hack

Re: Rate limiting with anvil

2009-11-25 Thread Wietse Venema
Daniel Ryslink: > Hello, > > I am trying to set rate limits on our smtp relays to prevent abusive > (compromised) user hosts from flooding the service with fast, intensive mail > floods. > > I have used the following directives (I can post whole main.cf, but I don't > think it's necessary): >