Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Mar 2003 16:25:09 +0100
From:      Francesco Casadei <fcasadei@inwind.it>
To:        Scott Renna <srenna@d-a-s.com>
Cc:        freebsd-stable@FreeBSD.ORG
Subject:   Re: sendmail_enable="NO" ignored in 4.7+?
Message-ID:  <20030305152509.GA73253@goku.kasby>
In-Reply-To: <000501c2e328$691eac10$1802a8c0@das.com>
References:  <1046761873.20729.223.camel@localhost> <000501c2e328$691eac10$1802a8c0@das.com>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
On Wed, Mar 05, 2003 at 10:03:35AM -0500, Scott Renna wrote:
> Hello all,
> 
> I had a question in regards to this post about sendmail.  I noticed the
> same problem on my system:
> 
> > Due to my less than perfect memory I can't pinpoint exactly when, but 
> > after upgrading my 4.x-system it seems like the sendmail_enable="NO" 
> > in /etc/rc.conf is being ignored and sendmail gets started anyway.
> 
> Is there any reason why even if you put "NO" sendmail still starts up?
> It seems kind of weird that it would start.
> 
> Scott Renna
> 
[snip]
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-stable" in the body of the message
> end of the original message

sendmail_enable accepts a str value and not a bool value. You have more choice
than to start or not to start sendmail daemon. As stated in rc.sendmail(8)
manpage:

[...]

     These variables are used to determine how the sendmail(8) daemons are
     started:

       # MTA
       if (${sendmail_enable} == NONE)
           # Do nothing
       else if (${sendmail_enable} == YES)
           start sendmail with ${sendmail_flags}
       else if (${sendmail_submit_enable} == YES)
           start sendmail with ${sendmail_submit_flags}
       else if (${sendmail_outbound_enable} == YES)
           start sendmail with ${sendmail_outbound_flags}
       endif

       # MSP Queue Runner
       if (${sendmail_enable} != NONE &&
           [ -r /etc/mail/submit.cf] &&
           ${sendmail_msp_queue_enable} == YES)
           start sendmail with ${sendmail_msp_queue_flags}
       endif
[...]

	Francesco Casadei
-- 
You can download my public key from http://digilander.libero.it/fcasadei/
or retrieve it from a keyserver (pgpkeys.mit.edu, wwwkeys.pgp.net, ...)

Key fingerprint is: 1671 9A23 ACB4 520A E7EE  00B0 7EC3 375F 164E B17B


[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (FreeBSD)

iD8DBQE+ZhbVfsM3XxZOsXsRAtuxAKCpHjKNd9Z9A6hja0UryFs9BDXvNQCcDJRV
wU9M6C7LXqWoGl+iVOFA664=
=ClcM
-----END PGP SIGNATURE-----
help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030305152509.GA73253>