OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Re: Anvil Syntax ?

From: Wietse Venema (wietseporcupine.org)
Date: Wed Jun 24 2009 - 06:04:19 CDT


Steve:
> Hi,
>
> I'm running through the brilliant 'Book of Postfix' and running into
> some confusion with anvil/rate control - specifically syntax. around
> page 384
>
> smtpd_client_connection_limit_exceptions =
> smtpd_client_connection_rate_limit = 3
> smtpd_client_connection_count_limit = 3
> client_connection_rate_time_unit = 60s
> client_connection_status_update_time = 1m
>
> But this does not seem to work as intended on my Postfix (2.5.5)
> The man gives this;
>
> Looking at the man for anvil I have different syntax options;
>
> anvil_rate_time_unit (60s)
> The time unit over which client connection rates
> and other rates are calculated.

This is the name in the stable release (Postfix 2.1.0 and later).

> anvil_status_update_time (600s)
> How frequently the anvil(8) connection and rate
> limiting server logs peak usage information.

That was in the non-stable release. There is no guarantee of
compatibility in non-stable releases.

        Wietse

> Which makes me wonder what the right syntax should be. Has the syntax
> changed since the box was produced or is it going to change in the near
> future?
>
>
>
>