Hi! Victor and Noel,
Many thanks for your replies.
I will try your suggestion.
Many thanks again
Eddy
-------- Message original --------
Sujet : Re: exclude some senders from anvil restriction
De : Noel Jones <[EMAIL PROTECTED]>
Pour : postfix-users@postfix.org
Date : 2008-10-02 14:06
Victor Duchovni wrote:
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.
If the sender is under your control, you could set up an alternate smtpd
listener (with different/no rate limit) on another IP or port for this
specific sender to use.
Or just raise the rate limit.
--
Eddy Beliveau
HEC Montreal
Montreal (Quebec)
Canada