From owner-cvs-all@FreeBSD.ORG Wed Apr 14 23:06:11 2004 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 310AE16A4CE; Wed, 14 Apr 2004 23:06:11 -0700 (PDT) Received: from signal.itea.ntnu.no (signal.itea.ntnu.no [129.241.190.231]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0CD2743D55; Wed, 14 Apr 2004 23:06:10 -0700 (PDT) (envelope-from morten@rodal.no) Received: from localhost (localhost [127.0.0.1]) by signal.itea.ntnu.no (Postfix) with ESMTP id AD5A53487B; Thu, 15 Apr 2004 08:06:08 +0200 (CEST) Received: from atlantis.rodal.no (m097g.studby.ntnu.no [129.241.134.97]) by signal.itea.ntnu.no (Postfix) with ESMTP id 76CA934419; Thu, 15 Apr 2004 08:06:08 +0200 (CEST) Received: (from morten@localhost) by atlantis.rodal.no (8.12.11/8.12.11/Submit) id i3F667fm000737; Thu, 15 Apr 2004 08:06:07 +0200 (CEST) (envelope-from morten) Date: Thu, 15 Apr 2004 08:06:07 +0200 From: Morten Rodal To: Max Khon Message-ID: <20040415060606.GA655@atlantis.rodal.no> References: <200404051626.i35GQM6k035503@repoman.freebsd.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="dc+cDN39EJAMEtIO" Content-Disposition: inline In-Reply-To: <200404051626.i35GQM6k035503@repoman.freebsd.org> X-Content-Scanned: with sophos and spamassassin at mailgw.ntnu.no. cc: cvs-src@freebsd.org cc: src-committers@freebsd.org cc: cvs-all@freebsd.org Subject: Re: cvs commit: src/etc/rc.d sendmail X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Apr 2004 06:06:11 -0000 --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--