[Pkg-exim4-users] Can't accept IP range for relay hosts
Marc Haber
mh+pkg-exim4-users at zugschlus.de
Sat Dec 12 22:30:17 UTC 2009
Hi,
On Sat, Dec 12, 2009 at 04:52:08PM -0500, Rob Feldman wrote:
> Change update-exim4.conf.conf to:
> dc_relay_nets='192.168.254.101/200'
You need to read up on netmasks and prefixes
(http://en.wikipedia.org/wiki/CIDR). 101/200 does _not_ mean 101-200,
it's illegal syntax, since there are no 200 bits in a 32 bit address.
Closest and easiest thing you'll probably need is 192.168.254.0/24,
meaning 192.168.254.0 to 192.168.254.255. If you really want to allow
only addresses from 101 to 200, you'll need something more complex:
$ ipcalc 192.168.254.101-192.168.254.200
deaggregate 192.168.254.101 - 192.168.254.200
192.168.254.101/32
192.168.254.102/31
192.168.254.104/29
192.168.254.112/28
192.168.254.128/26
192.168.254.192/29
192.168.254.200/32
$
Greetings
Marc
--
-----------------------------------------------------------------------------
Marc Haber | "I don't trust Computers. They | Mailadresse im Header
Mannheim, Germany | lose things." Winona Ryder | Fon: *49 621 72739834
Nordisch by Nature | How to make an American Quilt | Fax: *49 3221 2323190
More information about the Pkg-exim4-users
mailing list