Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Sep 1998 11:43:34 -0700 (PDT)
From:      "Eric J. Schwertfeger" <ejs@bfd.com>
To:        Muditha Gunatilake <muditha@seychelles.net>
Cc:        freebsd-isp@FreeBSD.ORG, me@anand.org
Subject:   Re: sendmail question
Message-ID:  <Pine.BSF.4.01.9809081137280.28407-100000@harlie.bfd.com>
In-Reply-To: <35F56B24.41C67EA6@seychelles.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 8 Sep 1998, Muditha Gunatilake wrote:

> I am trying out sendmail 8.9.1. What is the best way to allow our entire
> class of ip addresses to relay mail? eg: 202.84.227.* so all  servers,
> machines on the lan and dial-up clients using these ips will be allowed
> to sendmail?

add 

FEATURE(access_db)dnl

to your .mc file if it's not already in there, add, make your new .cf
file, install said file as /etc/sendmail.cf (keep a backup of the old one
just in case), then add

202.84.227 RELAY

to /etc/mail/access (or whatever you use if you already use something
like this), then run the command

/usr/sbin/makemake hash /etc/mail/access </etc/mail/access

which should create /etc/mail/access.db.  You then need to restart
sendmail.


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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.01.9809081137280.28407-100000>