Re: [Exim] question on ipblock acl

Etusivu
Poista viesti
Vastaa
Lähettäjä: Philip Hazel
Päiväys:  
Vastaanottaja: Test, James
Kopio: exim-users
Aihe: Re: [Exim] question on ipblock acl
On Tue, 25 Nov 2003, Test, James wrote:

> I have a file with several IP addresses I want to block. The file is
> in the format:
>
> 192.168.0.0/24
>
> with a separate IP address on each line.
>
> In the ACL configuration I have:
>
> deny hosts        = /path/to/file

>
> It does not seem to work. Can someone help with the write line to
> parse the file correctly?


What you have should work. Use the -bh testing option to test it. Add -d
if you want even more debugging output.

--
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.
Get the Exim 4 book:    http://www.uit.co.uk/exim-book