Re: [exim] Rate Limiting?

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Tony Finch
Datum:  
To: Ian FREISLICH
CC: exim-users, Stuart Gall
Betreff: Re: [exim] Rate Limiting?
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.

Tony.
--
<fanf@???> <dot@???> http://dotat.at/ ${sg{\N${sg{\
N\}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}\
\N}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}