Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 08 Aug 2000 13:16:55 -0400
From:      Nathan Vidican <webmaster@wmptl.com>
To:        Evren Yurtesen <yurtesen@ispro.net.tr>
Cc:        questions@freebsd.org
Subject:   Re: sendmail relay question
Message-ID:  <39904087.80F19BA8@wmptl.com>
References:  <Pine.BSF.4.21.0008042334340.52980-100000@finland.ispro.net.tr>

next in thread | previous in thread | raw e-mail | index | archive | help
Evren Yurtesen wrote:
> 
> Is there any way to make sendmail to allow relaying mail
> from a block of IP addresses like x.y.z.0/24 ?
> 
> thanks,
> Evren
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message

If you're asking is it possible to include a subnet rather than specific
IP addresses in the relay-domains table, the answer is yes. I'm sure
it's possible to accomplish this with smaller subnets than a /24, but to
be completely honest I've never done anything smaller than a Class C
subnet. Just add the IP subnet as follows:

216.94.112.6 # Some machine outside your network
205.67.92.3  # Some other machine outside your network
216.221.73   # Your entire Class C network, (216.221.73.0 -
216.221.73.255)
216.94.149   # A peer network for which you relay

Get the idea? I'd assume that putting in '216.221' would allow the
entire class B network, but again to be completely honest all I've ever
had to deal with was class C address pools.


-- 
Nathan Vidican
webmaster@wmptl.com
Windsor Match Plate & Tool Ltd.
http://www.wmptl.com/


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?39904087.80F19BA8>