From owner-freebsd-questions@FreeBSD.ORG Wed Jun 2 22:34:19 2004 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 1299516A4CE for ; Wed, 2 Jun 2004 22:34:19 -0700 (PDT) Received: from imo-d02.mx.aol.com (imo-d02.mx.aol.com [205.188.157.34]) by mx1.FreeBSD.org (Postfix) with ESMTP id A52C943D2F for ; Wed, 2 Jun 2004 22:34:18 -0700 (PDT) (envelope-from kantsg@netscape.net) Received: from kantsg@netscape.net by imo-d02.mx.aol.com (mail_out_v37_r2.6.) id 6.1b.d49f621 (22681); Thu, 3 Jun 2004 01:29:56 -0400 (EDT) Received: from netscape.net ([203.196.221.154]) by air-in04.mx.aol.com (v99_r4.7) with ESMTP id MAILININ42-589940beb75020b; Thu, 03 Jun 2004 01:29:55 -0400 Message-ID: <40BEB897.2000905@netscape.net> Date: Thu, 03 Jun 2004 11:05:19 +0530 From: "T. Srikanth" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax) X-Accept-Language: en-us, en MIME-Version: 1.0 To: jcm@FreeBSD-uk.eu.org, freebsd-questions@freebsd.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-AOL-IP: 203.196.221.154 X-Mailer: Unknown (No Version) Subject: RE: How do I enable sendmail ONLY for local system mail? 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: Thu, 03 Jun 2004 05:34:19 -0000 You also need to create a file /etc/mail/local-host-names and place the name of the local host in it. It should be possible to have a name lookup for this entry (eg, by /etc/hosts). --Srikanth Date: Tue, 01 Jun 2004 23:54:40 -0600 From: Dan MacMillan Subject: RE: How do I enable sendmail ONLY for local system mail? To: Jonathon McKitrick , freebsd-questions@freebsd.org Message-ID: Content-Type: text/plain; charset=us-ascii -----Original Message----- From: Jonathon McKitrick >> >> I read /etc/mail/README and also a few posts while I was setting up my >> firewall. but I'm not getting any system mail like expected. >> >> What should the permissions be on my mqueue and clientmqueue dirs in /var? >> >> Here are the rc.conf mail options: >> sendmail_enable="yes" >> >> ... > > Hi, I don't know about your routing issue ... but if you're using the 5.2.1 release, you can put the following in your rc.conf and have it still work (if, as the subject line says, you really are only using it for local system mail): sendmail_enable="no" It's not intuitive to me either, but it does work (at least it did for me). >From the rc.sendmail man page: sendmail_enable (str) If set to ``YES'', run the sendmail(8) daemon at system boot time. If set to ``NO'', do not run a sendmail(8) daemon to listen for incoming network mail.This does not preclude a sendmail(8) daemon listening on the SMTP port of the loopback interface. The ``NONE'' option is deprecated and should not be used. It will be removed in a future release. -Danny