Neil Long wrote:
> If I have
>
> sender_net_accept_relay = "1.2.0.0/16"
> sender_net_reject_except= "1.2.0.0/16"
>
> How can I then reject connections from just one host as
> sender_net_reject = 1.2.3.4/32
> doesn't seem to work if I use the test mode
> exim -bh 1.2.3.4
What is the purpose of the sender_net_reject_except option? I think that
overrides the sneder_net_reject option, so although 1.2.3.4 is blocked,
the 1.2/16 block is excluded from that rejection. Well I've just tested
it with
sender_net_accept_relay = ...:192.168.0.0/16
sender_net_reject = 192.168.3.4/32
and it worked fine, 192.168.3.4 was rejected immediately. Adding
sender_net_reject_except 192.168.0.0/16 broke it, .3.4 was allowed
in. Perhaps you have a reason to use reject_except though?
--
Ben Smithurst http://www.scientia.demon.co.uk/
ben@???
--
*** Exim information can be found at
http://www.exim.org/ ***