Re: [Exim] host_accept_relay Problem

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: James P. Roberts
Ημερομηνία:  
Προς: Nico Erfurth, Tony Earnshaw
Υ/ο: exim-users
Αντικείμενο: Re: [Exim] host_accept_relay Problem
> Tony Earnshaw wrote:
> > man, 2003-03-10 kl. 12:43 skrev Ben-Nes Michael:
> >
> >
> >>host_accept_relay = localhost:194.90.15.1/24
> >
> >
> > Just as a general point of interest, your C-Class network would be
> > 194.90.15.0/24; 194.90.15.1 would have a CIDR mask of /32.
>
> HU?
>
> /32 would be the mask for a single host, not for a network
>
> Nico
>


Precisely his point, I am sure!

As a practical matter, due to the nature of the mask (i.e. only the first /N
bits matter), I'm not sure it makes any difference whether one uses
194.90.15.0/24 (correct) or 194.90.15.1/24 (incorrect). But, technically,
Tony's observation is accurate. A poorly written piece of code could possibly
screw up any netmask comparisons using an incorrectly specified CIDR such as
the above example. But I would never imagine Exim to have anything that badly
written in it! :)

Jim Roberts
Punster Productions, Inc.