Re: [EXIM] use of network names

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Philip Hazel
Date:  
À: V. T. Mueller
CC: eml
Sujet: Re: [EXIM] use of network names
On Wed, 23 Sep 1998, V. T. Mueller wrote:

> I was just wondering if it could be possible to use 'network names'
> defined in /etc/networks for settings in the exim configuration. For
> example:
> sender_host_accept_relay = localnet
>
> where "localnet" is configured in /etc/networks:
> localnet    132.230        ln

>
> Of course you could say that it's not too much effort to insert just that
> "132.230", but since there are vastly more networks, and they all are
> already defined in /etc/networks with well-known names it'll make sense to
> use those names - won't it?


(1) I've never had anything to do with /etc/networks. Does its syntax
support the modern idea of a classless network such as
131.111.10.128/25? That is, if you entered 131.111.10.128 would it infer
the /25?

(2) Of course, it would be relevant for sender_net_xxx options rather
than sender_host_xxx options.

(3) Do all Unixes have the getnetbyname() function?



-- 
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.



--
*** Exim information can be found at http://www.exim.org/ ***