From owner-freebsd-questions@FreeBSD.ORG Mon Aug 11 04:17:14 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 6A8A837B401 for ; Mon, 11 Aug 2003 04:17:14 -0700 (PDT) Received: from rambo.401.cx (rambo.401.cx [80.65.205.166]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3498943FB1 for ; Mon, 11 Aug 2003 04:17:08 -0700 (PDT) (envelope-from listsub@401.cx) Received: from 401.cx (132.dairy.twenty4help.se [80.65.195.132]) by rambo.401.cx (8.12.9/8.12.9) with ESMTP id h7BBH07P004409; Mon, 11 Aug 2003 13:17:00 +0200 (CEST) (envelope-from listsub@401.cx) Message-ID: <3F377B26.6060004@401.cx> Date: Mon, 11 Aug 2003 13:16:54 +0200 From: "Roger 'Rocky' Vetterberg" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5b) Gecko/20030723 Thunderbird/0.1 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Konrad Heuer References: <20030811093337.M742-100000@gwdu60.gwdg.de> In-Reply-To: <20030811093337.M742-100000@gwdu60.gwdg.de> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: FreeBSD Questions cc: Richard Shea 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 11:17:14 -0000 Konrad Heuer wrote: >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 > > Checkout /etc/mail/access, it allows you to control who is permitted to relay trough your server. -- R