Re: [exim] smtp_accept_max_per_host value based on client IP

Pàgina inicial
Delete this message
Reply to this message
Autor: Tony Finch
Data:  
A: Alex Dyas
CC: exim-users
Assumpte: Re: [exim] smtp_accept_max_per_host value based on client IP
On Tue, 16 May 2006, Alex Dyas wrote:
>
> Firstly, can someone please confirm that this will indeed allow me to
> specify different values for different IPs and ranges. That's certainly
> what it looks like to me.


Yes.

> And secondly, why is there no "{$value}" at the end of the
> "${lookup{mask.." line? Isn't that needed?


It's only needed if the default is not suitable. I.e. in
${lookup{<key>} <search type> {<file>} {<string1>} {<string2>}}
if <string2> is empty, then the final {} can be omitted, and if
string1 is $value then the last two {} can be omitted.

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