From owner-freebsd-questions Thu Nov 9 18:56:31 2000 Delivered-To: freebsd-questions@freebsd.org Received: from matt.MUNICH.v-net.org (u57n248.hfx.eastlink.ca [24.222.57.248]) by hub.freebsd.org (Postfix) with ESMTP id A05FF37B4C5 for ; Thu, 9 Nov 2000 18:56:28 -0800 (PST) Received: from unisys (Windozzze [192.168.8.2]) by matt.MUNICH.v-net.org (8.9.3/8.9.3) with SMTP id WAA29095; Thu, 9 Nov 2000 22:56:13 -0400 (AST) (envelope-from matt@researcher.com) From: "Matt Rudderham" To: "Leonard W. Gold" , Subject: RE: Outgoing mail security Date: Thu, 9 Nov 2000 22:41:13 -0400 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) In-Reply-To: <01C04A7C.8256F170.lengold@play.com> X-MIMEOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Importance: Normal Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >I would like to know if you could tell me witch file on a Free BSD mail >server I need to edit and basic example of how the line looks to prevent >other IP's to connect and use an outgoing mail server. If you are using FreeBSD 4+ (Maybe earlier?) sendmail is set by default not to relay mail from other hosts. >Also just the >opposite same for the line that would allow a specific IP to be able to use >it remotely. Assuming sendmail again, edit /etc/mail/access add this: 192.168.xxx.xxx OK /* or for a full class c */ 192.168.8 OKAY then from the prompt, makemap hash access < access I don't believe a restart is required in binary databases. The above is free to be cut up, and cutting would be appreciated. All I know is it works for me:) - Matthew Rudderham To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message