[Exim] Lsearch by IP

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Nico van der Dussen
Datum:  
To: exim-users
Betreff: [Exim] Lsearch by IP
Hi,

I would like to do an lsearch* on IP-numbers from a file for the
smtp_accept_max_per_host command (using Exim 4.14)

From the manual I gather that the lookup must be
smtp_accept_max_per_host =
${lookup{$sender_host_address}lsearch*{/path/to/file}}

The file should contain lines like

123.111.222.123:4
*:1

Now the big thing I'm not sure about: How do I handle say
123.111.222.0/24 blocks of IP's?

It does not seem right from the manual to add a line

123.11.222.0/24:2

to the search file

Thanks

Nico




www.vddi.co.za___________________________
N van der Dussen
VDDi
Posbus 13488, CLUBVIEW, RSA, 0014
Tel +27 12 663-2710
Faks +27 12 663-2808
___________________________________