Re: [exim] Getting exim to refuse connections

Top Page
Delete this message
Reply to this message
Author: Mark
Date:  
To: Elliot Finley
CC: exim-users
Subject: Re: [exim] Getting exim to refuse connections
On Thu, 2005-07-21 at 08:19 -0600, Elliot Finley wrote:
> How about - in the main config:
>
> acl_smtp_connect = check_connect
>
> then in your ACL section
>
> check_connect:
>
> #deny if load is greater than 10
> deny condition = ${if > {$load_average}{10000}}

[...]
> does that do what you want?


Nope because it's still letting the connection in the door and eating
resource. It's the difference between

--8<--
telnet host 25
250 mailserver
451 go away, load too high
<connection dropped>
--8<--

and

--8<--
telnet host 25
connection refused
--8<--

I think the load monitoring script which plays with iptables is probably
going to be the way to go.

--
Mark <hamster@???>