Re: [Exim] ban connecting host

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Jez Hancock
Dátum:  
Címzett: Simon Bell
CC: exim-users
Tárgy: Re: [Exim] ban connecting host
On Sat, Feb 07, 2004 at 10:29:55PM -0000, Simon Bell wrote:
> Im trying to deny connections based on hostname. Ive added the following to
> my config file, but it doesn't appear to be working:
>
>   deny    hosts         = partial-lsearch;/usr/exim/hostban

>
> the contents of the file are:
>
> *.pipex.net
> *.pipex.com
>
> and the connecting host is in the form of blah.pipex.com
>
> where am i going wrong?


Try:

deny    hosts = wildlsearch;/usr/exim/hostban


--
Jez Hancock
- System Administrator / PHP Developer

http://munk.nu/
http://jez.hancock-family.com/  - Another FreeBSD Diary
http://ipfwstats.sf.net/        - ipfw peruser traffic logging