From owner-freebsd-questions Tue Aug 8 10:19:34 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mail2.wmptl.com (mail2.wmptl.com [216.221.73.131]) by hub.freebsd.org (Postfix) with ESMTP id A4CCB37B8EC for ; Tue, 8 Aug 2000 10:19:28 -0700 (PDT) (envelope-from webmaster@wmptl.com) Received: from wmptl.com ([10.0.0.168]) by mail2.wmptl.com (8.9.3/8.9.3) with ESMTP id NAA62029; Tue, 8 Aug 2000 13:17:20 -0400 (EDT) (envelope-from webmaster@wmptl.com) Message-ID: <39904087.80F19BA8@wmptl.com> Date: Tue, 08 Aug 2000 13:16:55 -0400 From: Nathan Vidican X-Mailer: Mozilla 4.72 [en] (Win95; I) X-Accept-Language: en MIME-Version: 1.0 To: Evren Yurtesen Cc: questions@freebsd.org Subject: Re: sendmail relay question References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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