Re: [Exim] ban connecting host

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Nico Erfurth
Ημερομηνία:  
Προς: aooi58
Υ/ο: exim-users
Αντικείμενο: Re: [Exim] ban connecting host
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?


You're making it more complex than it needs to be.

deny hosts = /usr/exim/hostban

should work.

Nico