From owner-freebsd-hackers@FreeBSD.ORG Wed Apr 25 18:56:31 2012 Return-Path: Delivered-To: hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5F80B106566B for ; Wed, 25 Apr 2012 18:56:31 +0000 (UTC) (envelope-from glarkin@FreeBSD.org) Received: from mail1.sourcehosting.net (mail1.sourcehosting.net [74.205.51.45]) by mx1.freebsd.org (Postfix) with ESMTP id 3299D8FC12 for ; Wed, 25 Apr 2012 18:56:31 +0000 (UTC) Received: from 24-181-237-39.dhcp.oxfr.ma.charter.com ([24.181.237.39] helo=Gregory-Larkins-iMac.local) by mail1.sourcehosting.net with esmtp (Exim 4.73 (FreeBSD)) (envelope-from ) id 1SN7O2-000PCk-QO; Wed, 25 Apr 2012 14:56:25 -0400 Received: from Gregory-Larkins-iMac.local (localhost [127.0.0.1]) by Gregory-Larkins-iMac.local (Postfix) with ESMTP id 569FD1184239; Wed, 25 Apr 2012 14:56:22 -0400 (EDT) Message-ID: <4F9848D6.5040703@FreeBSD.org> Date: Wed, 25 Apr 2012 14:56:22 -0400 From: Greg Larkin Organization: The FreeBSD Project User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:11.0) Gecko/20120327 Thunderbird/11.0.1 MIME-Version: 1.0 To: rank1seeker@gmail.com References: <20120425.180906.586.4@DOMY-PC> In-Reply-To: <20120425.180906.586.4@DOMY-PC> X-Enigmail-Version: 1.4.1 X-SA-Exim-Connect-IP: 24.181.237.39 X-SA-Exim-Mail-From: glarkin@FreeBSD.org X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail1.sourcehosting.net X-Spam-Level: * X-Spam-Status: No, score=1.5 required=5.0 tests=AWL,BAYES_00,RCVD_IN_PBL, RCVD_IN_RP_RNBL, RCVD_IN_SORBS_DUL, RDNS_DYNAMIC, TVD_RCVD_IP autolearn=no version=3.3.1 Content-Type: text/plain; charset=windows-1250 Content-Transfer-Encoding: quoted-printable X-SA-Exim-Version: 4.2 X-SA-Exim-Scanned: Yes (on mail1.sourcehosting.net) Cc: hackers@freebsd.org Subject: Re: sendmail disabled, but 'service -e' lists it as enabled X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: glarkin@FreeBSD.org List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Apr 2012 18:56:31 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 4/25/12 2:09 PM, rank1seeker@gmail.com wrote: > # grep sendmail /etc/rc.conf sendmail_enable=3D"NONE" # service -e | > grep sendmail /etc/rc.d/sendmail # ps -U root | grep sendmail >=20 >=20 > Domagoj Smol=E8i=E6 Hi Domagoj, /etc/rc.d/sendmail explicitly sets some variables to "NO" when sendmail_enable is "NONE". Unfortunately, the service script does not take that into account, so if you want it to report correctly, place these lines in /etc/rc.conf: sendmail_enable=3D"NONE" sendmail_submit_enable=3D"NO" sendmail_outbound_enable=3D"NO" sendmail_msp_queue_enable=3D"NO" That will cover all bases, in case some other tool depends on the value of sendmail_enable. Hope that helps, Greg - --=20 Greg Larkin http://www.FreeBSD.org/ - The Power To Serve http://www.sourcehosting.net/ - Ready. Set. Code. http://twitter.com/cpucycle/ - Follow you, follow me -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk+YSNUACgkQ0sRouByUApAWVQCgtKdAVtJ6Cv/TMEbpEafZRmEA 6ZkAoKyxKQGuyj73w4Hrb/hIF7xwJurg =3Dbb7F -----END PGP SIGNATURE-----