From owner-freebsd-questions@FreeBSD.ORG Sun Sep 24 23:42:41 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 E489A16A412 for ; Sun, 24 Sep 2006 23:42:41 +0000 (UTC) (envelope-from wittig.robert@sbcglobal.net) Received: from smtp114.sbc.mail.re2.yahoo.com (smtp114.sbc.mail.re2.yahoo.com [68.142.229.91]) by mx1.FreeBSD.org (Postfix) with SMTP id 2983E43D45 for ; Sun, 24 Sep 2006 23:42:40 +0000 (GMT) (envelope-from wittig.robert@sbcglobal.net) Received: (qmail 69972 invoked from network); 24 Sep 2006 23:42:40 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=sbcglobal.net; h=Received:Message-ID:Date:From:User-Agent:MIME-Version:To:CC:Subject:References:In-Reply-To:Content-Type:Content-Transfer-Encoding; b=1cwz3qOaOMb5ckowAbspk4Yqsd4DxCaoToP+jrnjCim1YCnMFaU9IHBITwzYXsVzJ0gJn0Llba5FyaJMPzQoh0U3j0N0qBQPnXycHVWt7T8JReDSrtkaDhZ/KY+BrM1ozvEVm6mErnRcKYTM3qpgojIj1tae9WRaNPr+BM9AU74= ; Received: from unknown (HELO ?192.168.1.3?) (wittig.robert@sbcglobal.net@70.142.248.62 with plain) by smtp114.sbc.mail.re2.yahoo.com with SMTP; 24 Sep 2006 23:42:39 -0000 Message-ID: <45171839.9020804@sbcglobal.net> Date: Sun, 24 Sep 2006 18:43:53 -0500 From: Robert C Wittig User-Agent: Thunderbird 1.5.0.7 (X11/20060909) MIME-Version: 1.0 To: Rob Gabaree References: <20060924214248.GC6395@zloy.stilyagin.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed 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 23:42:42 -0000 Rob Gabaree wrote: > Thanks. > > What I did was remove all lines except `sendmail_enable="NO"` and in > /etc/mail/aliases, I setup the root alias to goto my real email address: > > root user@mydomain.com > > I setup my firewall to block incoming/outgoing email on ports 21/25 as > well, so no one on the outside can access mail services. > > It seems to be working correctly, as I received mail as it was ran to my > @mydomain.com email. > > Does this seem ok? Did I do anything wrong? I run OpenBSD on my mailservers, but I expect that the sendmail works basically the same. In /etc/rc.conf or its FreeBSD equivalent, check the sendmail line to see if it references localhost.cf or sendmail.cf localhost.cf will permit internal mail on the machine, so that root can send messages to your everyday UID, etc., but will not permit mail to be sent to or received from, the Internet, or other machines in you LAN. sendmail.cf will permit full Internet email, but even this will not permit Internet email, unless your machine has a fully Qualified Domain Name, which is registered with your domain registrar, and has the Registrar's MX setting configured properly. -- -wittig http://www.robertwittig.com/ . http://robertwittig.net/