From owner-freebsd-questions@FreeBSD.ORG Mon Aug 11 00:40:25 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F0DA637B404 for ; Mon, 11 Aug 2003 00:40:24 -0700 (PDT) Received: from gwdu60.gwdg.de (gwdu60.gwdg.de [134.76.8.60]) by mx1.FreeBSD.org (Postfix) with ESMTP id 98B7A43FA3 for ; Mon, 11 Aug 2003 00:40:23 -0700 (PDT) (envelope-from kheuer2@gwdg.de) Received: from gwdu60.gwdg.de (localhost [127.0.0.1]) by gwdu60.gwdg.de (8.12.8p1/8.12.8) with ESMTP id h7B7eMdA046921; Mon, 11 Aug 2003 09:40:22 +0200 (CEST) (envelope-from kheuer2@gwdg.de) Received: from localhost (kheuer2@localhost)h7B7eL7B046918; Mon, 11 Aug 2003 09:40:21 +0200 (CEST) X-Authentication-Warning: gwdu60.gwdg.de: kheuer2 owned process doing -bs Date: Mon, 11 Aug 2003 09:40:21 +0200 (CEST) From: Konrad Heuer To: Richard Shea In-Reply-To: <20030811072553.41BD076193@smtp.us2.messagingengine.com> Message-ID: <20030811093337.M742-100000@gwdu60.gwdg.de> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: FreeBSD Questions Subject: Re: sendmail_enable="NO" /"YES"/"MAYBE" ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Aug 2003 07:40:25 -0000 On Mon, 11 Aug 2003, Richard Shea wrote: > Hi - I currently have sendmail_enable="NO" in my rc.conf file. This > allows emails to be sent from the FBSD machine however I would like one > other machine on the LAN to use the FBSD machine as a SMTP machine. > > I think sendmail_enable="YES" would do this but would then allow every > other machine on the LAN to use sendmail ? Is there some way I could > limit sendmail users by IP address ? Yes, sendmail_enable="YES" will do the job. FreeBSD sendmail respects the TCP wrapper config file /etc/hosts.allow; you can limit access to sendmail there (look at "man 5 hosts_options"). Regards Konrad Konrad Heuer (kheuer2@gwdg.de) ____ ___ _______ GWDG / __/______ ___ / _ )/ __/ _ \ Am Fassberg / _// __/ -_) -_) _ |\ \/ // / 37077 Goettingen /_/ /_/ \__/\__/____/___/____/ Germany