From owner-freebsd-questions@FreeBSD.ORG Sun Sep 24 22:16:34 2006 Return-Path: X-Original-To: questions@freebsd.org 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 EB0F616A407 for ; Sun, 24 Sep 2006 22:16:34 +0000 (UTC) (envelope-from freebsd-questions@voidcaptain.com) Received: from mx4.x15.net (mx4.x15.net [69.55.237.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id B8ED143D46 for ; Sun, 24 Sep 2006 22:16:34 +0000 (GMT) (envelope-from freebsd-questions@voidcaptain.com) Received: from j1.x15.net [63.196.213.76] by mx4.x15.net with ESMTP id 608060222X1GRcH4000I8N76; Sun, 24 Sep 2006 22:16:34 +0000 Message-ID: <451703A3.6030000@voidcaptain.com> Date: Sun, 24 Sep 2006 15:16:03 -0700 From: Pete Slagle MIME-Version: 1.0 To: Rob Gabaree References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: questions@freebsd.org Subject: Re: Do I need to completely disable sendmail? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 Sep 2006 22:16:35 -0000 Rob Gabaree wrote: > I have a remote server that I don't plan on using for email as I have > another server to handle that. My question is.. is it a bad idea to > _completely_ disable sendmail on that machine? Yes. You probably want to allow the server to send you administrative mail that it generates itself, but not let it receive any from outside. To do that: (1) Use the default settings for sendmail by not specifying any . Delete all lines containing "sendmail" from /etc/rc.conf. This will allow outgoing mail only. (2) Put a line in /etc/aliases that defines who receives root's e-mail for the server. Point it to your actual e-mail address. For example, root: my_addy@example.com (3) Reboot. That's it. Now the box can send you it's status information, but it won't listen for any incoming mail.