Re: [exim] Rate Limiting?

Páxina inicial
Borrar esta mensaxe
Responder a esta mensaxe
Autor: Ian FREISLICH
Data:  
Para: exim-users
CC: Stuart Gall
Asunto: Re: [exim] Rate Limiting?
Tony Finch wrote:
> On Fri, 13 May 2005, Ian FREISLICH wrote:
>
> > Stuart Gall wrote:
> > >
> > > smtp_accept_max = 40
> > > smtp_accept_max_per_host = 5
> > > smtp_ratelimit_hosts = 1.2.3.4
> > > smtp_ratelimit_mail = 5,0.5s,1.05,1m
> > > smtp_ratelimit_rcpt = 5,0.25s,1.015,1m
> >
> > Can that also rate limit where a user pipes mail to /usr/bin/sendmail?
>
> No, it only limits the rate of commands on a single SMTP connection, so
> the limits can be broken using multiple connections, concurrent or
> sequential. What I'm planning is to calculate the average rate over all
> connections from a host or user or whatever you like.


Ok, my embedded perl function trancends connections which was the
major reason I wrote it rather than use the internal functions.
You can use anything as the key, so I guess it pretty much does
what you're planning on doing although it's not adaptive.

Ian

--
Ian Freislich