Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Apr 2004 08:06:07 +0200
From:      Morten Rodal <morten@rodal.no>
To:        Max Khon <fjoe@freebsd.org>
Cc:        cvs-all@freebsd.org
Subject:   Re: cvs commit: src/etc/rc.d sendmail
Message-ID:  <20040415060606.GA655@atlantis.rodal.no>
In-Reply-To: <200404051626.i35GQM6k035503@repoman.freebsd.org>
References:  <200404051626.i35GQM6k035503@repoman.freebsd.org>

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

--dc+cDN39EJAMEtIO
Content-Type: multipart/mixed; boundary="n8g4imXOkfNTN/H1"
Content-Disposition: inline


--n8g4imXOkfNTN/H1
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Mon, Apr 05, 2004 at 09:26:22AM -0700, Max Khon wrote:
> fjoe        2004/04/05 09:26:22 PDT
>=20
>   FreeBSD src repository
>=20
>   Modified files:
>     etc/rc.d             sendmail=20
>   Log:
>   Allow this script to be used for Postfix:
>   - Use sendmail_foo variables after load_rc_config so that they actually=
 work.
>   - Utilize sendmail_procname.
>   - Check sendmail_submit_enable instead of sendmail_enable when dealing
>   with mail submission MTA.
>  =20
>   Revision  Changes    Path
>   1.10      +4 -3      src/etc/rc.d/sendmail

With this change I am not able to start the sendmail submit mail
daemon, which results in no daemons listening on localhost:25.

In the rc.conf I have:

sendmail_enable=3D"NO"
sendmail_submit_enable=3D"YES"

If I apply the attached patch I am able to start the submit mail
daemon.  Probably not the correct way to do it, but it works.

--=20
Morten Rodal


--n8g4imXOkfNTN/H1
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="sendmail.patch"
Content-Transfer-Encoding: quoted-printable

--- /tmp/sendmail	Thu Apr 15 08:02:03 2004
+++ sendmail	Thu Apr 15 08:02:19 2004
@@ -74,7 +74,7 @@
=20
 required_files=3D
=20
-if ! checkyesno sendmail_submit_enable; then
+if checkyesno sendmail_submit_enable; then
 	name=3D"sendmail_submit"
 	rcvar=3D`set_rcvar`
 	start_cmd=3D"${command} ${sendmail_submit_flags}"

--n8g4imXOkfNTN/H1--

--dc+cDN39EJAMEtIO
Content-Type: application/pgp-signature
Content-Disposition: inline

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

iD8DBQFAfiZObWe1Cy11WVsRAkpeAJ9xSQLLJraIyO1yUTb8o6/zsU/3fACg3ZUE
FOq3cMVy68NhXP4lwdha6qU=
=zb+c
-----END PGP SIGNATURE-----

--dc+cDN39EJAMEtIO--



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