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 <[EMAIL PROTECTED]>
--
## List details at http://www.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://www.exim.org/eximwiki/