John Horne writes:
>
> I'm trying to configure a lookup file with the "sender_net_reject_recipients"
> option, but exim complains at startup with :
>
> error in IP net specification lsearch;/usr/local/exim/tables/ip_banned in
> sender_net_reject_recipients option
The value has to be a net-list, as described in section 7.15 (not a host-list),
and search expressions are not supported. Rationale: what is to be looked up? -
an IP address could be part of arbitrarily many potential network specifications.
[Only 33 (IPv4) or 129 (IPv6), I suppose, if the constraint on consecutive bits
in the netmask is to be enforced.] From Exim 1.70 onwards, an item in a host-list
can be the absolute path name of a file containing a list of address/mask pairs,
which is like "lsearch" in a way, but there is no alternative search method, and
the search type should not be specified.
Chris Thompson Cambridge University Computing Service,
Email: cet1@??? New Museums Site, Cambridge CB2 3QG,
Phone: +44 1223 334715 United Kingdom.
--
* This is sent by the exim-users mailing list. To unsubscribe send a
mail with subject "unsubscribe" to exim-users-request@???
* Exim information can be found at http://www.exim.org/