I do believe it is because you have all of 1.2.0.0 specified in
sender_net_reject_except.
This should overide the setting: sender_net_reject = 1.2.3.4/32
Neil Long wrote:
>
> Hello again
>
> Is this a bug? v2.02 on Digital-Unix.
>
> 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
>
> (using real nets and hosts for the tests, of course)
>
> I want to be able to block one or more hosts from even connecting if
> they become a problem for whatever reason, I could build in tcp_wrapper
> support but then lose the central logging???
>
> Thanks
> Neil
>
> --
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> * Dr Neil J Long, Computing Services, University of Oxford
> * Banbury Road, Oxford, OX2 6NN, UK
> * Tel: +44 1865 273232 Fax: +44 1865 273275
> * EMail: Neil.Long@???
>
> --
> *** Exim information can be found at http://www.exim.org/ ***
--
Patrick Boutilier
Computer Services Officer
Nova Scotia Department of Education and Culture
--
*** Exim information can be found at
http://www.exim.org/ ***