OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Re: exclude some senders from anvil restriction

From: Victor Duchovni (Victor.Duchovnimorganstanley.com)
Date: Thu Oct 02 2008 - 13:01:23 CDT


On Thu, Oct 02, 2008 at 01:48:40PM -0400, Eddy Beliveau wrote:

> Hi!
>
> I'm using postfix 2.5.4 and it works great :-)
>
> I'm using the following parameters to limit traffic on my server:
>
> smtpd_client_connection_rate_limit = 10
> anvil_rate_time_unit = 60s
> smtpd_client_event_limit_exceptions not defined, so default=$mynetworks
>
> I know that any client registered in
> "smtpd_client_event_limit_exceptions" are excluded from this restriction
>
> I would like to exclude some senders based on their sender email
> address, NOT on their IP address .
>
> Can it be done ?

No, anvil constraints are imposed at 220 banner time, and the sender is
not known at that point. In order to find the sender, you need to allow
the client to tie up a connection, which makes the control useless.

--
        Viktor.

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the "Reply-To" header.

To unsubscribe from the postfix-users list, visit
http://www.postfix.org/lists.html or click the link below:
<mailto:majordomopostfix.org?body=unsubscribe%20postfix-users>

If my response solves your problem, the best way to thank me is to not
send an "it worked, thanks" follow-up. If you must respond, please put
"It worked, thanks" in the "Subject" so I can delete these quickly.