Autor: Ernie Dunbar Data: Para: exim-users Asunto: Re: [exim] Blocking a host that is allowed.
> > You could try to put a ! in there, like this:
>
> !192.0.2.1 : 192.0.2.0/24
>
> This should allow any host s in that /24 except 192.0.2.1 to submit
> mail.
>
> You should have a look at README.Debian to check if this is really
> supported, though.
>
No, this doesn't work. I tested it by running `exim -bf 192.0.2.1` and I
get this result:
>>> check hosts = +relay_from_hosts
>>> host in "<; !192.0.2.1; 192.0.2.0/24; 127.0.0.1 ; ::1"? yes (matched "192.0.2.0/24")