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>

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

--4Ckj6UjgE2iN1+kY
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Wed, Mar 05, 2003 at 10:03:35AM -0500, Scott Renna wrote:
> Hello all,
>=20
> I had a question in regards to this post about sendmail.  I noticed the
> same problem on my system:
>=20
> > Due to my less than perfect memory I can't pinpoint exactly when, but=
=20
> > after upgrading my 4.x-system it seems like the sendmail_enable=3D"NO"=
=20
> > in /etc/rc.conf is being ignored and sendmail gets started anyway.
>=20
> Is there any reason why even if you put "NO" sendmail still starts up?
> It seems kind of weird that it would start.
>=20
> Scott Renna
>=20
[snip]
>=20
> 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 cho=
ice
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} =3D=3D NONE)
           # Do nothing
       else if (${sendmail_enable} =3D=3D YES)
           start sendmail with ${sendmail_flags}
       else if (${sendmail_submit_enable} =3D=3D YES)
           start sendmail with ${sendmail_submit_flags}
       else if (${sendmail_outbound_enable} =3D=3D YES)
           start sendmail with ${sendmail_outbound_flags}
       endif

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

	Francesco Casadei
--=20
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


--4Ckj6UjgE2iN1+kY
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (FreeBSD)

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

--4Ckj6UjgE2iN1+kY--

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




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