From owner-freebsd-hackers@FreeBSD.ORG Thu Apr 26 06:52:29 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1323C106564A for ; Thu, 26 Apr 2012 06:52:28 +0000 (UTC) (envelope-from j.mckeown@ru.ac.za) Received: from mail.ru.ac.za (mail.ru.ac.za [IPv6:2001:4200:1010:0:250:56ff:fe8d:5]) by mx1.freebsd.org (Postfix) with ESMTP id E5B6E8FC08 for ; Thu, 26 Apr 2012 06:52:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=ru.ac.za; s=ru-msa; h=X-Authenticated-User:Message-Id:Content-Type:MIME-Version:Date:Subject:To:From; bh=IbYHGvAWgoE69Cia+TDo0KgjQoN/j9GxPirVcZaLqUs=; b=A3bL5GobBR+rT1YrtLtlzH75K9fLsfQh24gNJOXBwyUR32GxyIh8FcysgScACdCFVy78+A/rVU0pc3OQZbjjzjFQwZLccle1koYd2GVOA8oB7zsyjYaOgjIPtOSdvGi+; Received: from vorkosigan.ru.ac.za ([2001:4200:1010:1058:219:d1ff:fe9f:a932]:58281) by mail.ru.ac.za with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.76 (FreeBSD)) (envelope-from ) id 1SNIYz-000ClM-A5 for freebsd-hackers@freebsd.org; Thu, 26 Apr 2012 08:52:25 +0200 From: Jonathan McKeown Organization: Rhodes University To: freebsd-hackers@freebsd.org Date: Thu, 26 Apr 2012 08:52:25 +0200 User-Agent: KMail/1.9.10 References: <20120425.180906.586.4@DOMY-PC> <4F9848D6.5040703@FreeBSD.org> In-Reply-To: <4F9848D6.5040703@FreeBSD.org> X-Face: $@VrUx^RHy/}yu]jKf/<4T%/d|F+$j-Ol2"2J$q+%OK1]&/G_S9(=?utf-8?q?HkaQ*=60!=3FYOK=3FY!=27M=60C=0A=09aP=5C9nVPF8Q=7DCilHH8l=3B=7E!4?= =?utf-8?q?2HK6=273lg4J=7Daz?=@1Dqqh:J]M^"YPn*2IWrZON$1+G?oX3@ =?utf-8?q?k=230=0A=0954XDRg=3DYn=5FF-etwot4U=24b?=dTS{i X-Virus-Scanned: mail.ru.ac.za (2001:4200:1010:0:250:56ff:fe8d:5) X-Authenticated-User: s0900137 from vorkosigan.ru.ac.za (2001:4200:1010:1058:219:d1ff:fe9f:a932) using auth_plaintext 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 List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Apr 2012 06:52:29 -0000 On Wednesday 25 April 2012 20:56:22 Greg Larkin wrote: > On 4/25/12 2:09 PM, rank1seeker@gmail.com wrote: > > # grep sendmail /etc/rc.conf sendmail_enable="NONE" # service -e | > > grep sendmail /etc/rc.d/sendmail # ps -U root | grep sendmail > > /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="NONE" > sendmail_submit_enable="NO" > sendmail_outbound_enable="NO" > sendmail_msp_queue_enable="NO" And in fact man 8 rc.sendmail says (under sendmail_enable in the RC.CONF VARIABLES section): The ``NONE'' option is deprecated and should not be used. It will be removed in a future release. and later in the manpage: To completely prevent any sendmail(8) daemons from starting, you must set the following variables in /etc/rc.conf: sendmail_enable="NO" sendmail_submit_enable="NO" sendmail_outbound_enable="NO" sendmail_msp_queue_enable="NO" Jonathan