Re: [exim] Getting exim to refuse connections

Top Pagina
Delete this message
Reply to this message
Auteur: Elliot Finley
Datum:  
Aan: Mark
CC: exim-users
Onderwerp: Re: [exim] Getting exim to refuse connections
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}}

#otherwise, accept
accept

does that do what you want?

----- Original Message -----
From: "Mark" <hamster@???>
To: "Elliot Finley" <efinleywork@???>
Cc: <exim-users@???>
Sent: Thursday, July 21, 2005 7:03 AM
Subject: Re: [exim] Getting exim to refuse connections


> On Thu, 2005-07-21 at 06:45 -0600, Elliot Finley wrote:
> > smtp_load_reserve = <some load above which you don't want to accept
> > connections>
>
> Which doesn't actually refuse the connection it accepts, banners and
> drops with 451 error. What I'm looking for is to actually not accept
> the connection to start with at certain load levels.
>
>
> >
> > ----- Original Message -----
> > From: "Mark" <hamster@???>
> > To: <exim-users@???>
> > Sent: Thursday, July 21, 2005 5:45 AM
> > Subject: [exim] Getting exim to refuse connections
> >
> >
> > > I've been looking for a way to do this for a while, is there a method

by
> > > which I can close the smtp port completely once the load on a box hits

a
> > > certain level?
> > >
> > > --
> > > Mark <hamster@???>
> > >
> > >
> > > --
> > > ## 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/
> > >
> > >
> > > --
> > > No virus found in this incoming message.
> > > Checked by AVG Anti-Virus.
> > > Version: 7.0.323 / Virus Database: 267.9.2/52 - Release Date:

7/19/2005
> > >
> > >
> >
> >
> --
> Mark <hamster@???>
>
>
>
> --
> No virus found in this incoming message.
> Checked by AVG Anti-Virus.
> Version: 7.0.323 / Virus Database: 267.9.2/52 - Release Date: 7/19/2005
>
>