Re: [exim] rate-limiting

Etusivu
Poista viesti
Vastaa
Lähettäjä: Tony Finch
Päiväys:  
Vastaanottaja: Jeremy Harris
Kopio: exim-users @ exim. org
Aihe: Re: [exim] rate-limiting
On Mon, 11 Jul 2005, Jeremy Harris wrote:

> I've started playing with the rate-limit facility in 4.52
> (thanks Tony!) - and the query comes to mind: are the
> db entries seperated by any info apart from the given <key>
> field (or default key), in particular the <p> and <options>?


I should evidently have been more explicit in the documentation about the
lookup semantics. The code has includes this comment:

/* We use the rest of the argument list following the limit as the
lookup key, because it doesn't make sense to use the same stored data
if the period or options are different. */

I.e. everything after the <m> field is used as the key (including
whitespace).

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}}