From owner-freebsd-stable Mon Nov 4 11:57:45 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E997337B401 for ; Mon, 4 Nov 2002 11:57:43 -0800 (PST) Received: from pc1-cove2-4-cust33.bir.cable.ntl.com (pc1-cove2-4-cust33.bir.cable.ntl.com [80.4.78.33]) by mx1.FreeBSD.org (Postfix) with ESMTP id C9A5D43E42 for ; Mon, 4 Nov 2002 11:57:42 -0800 (PST) (envelope-from ianjhart@ntlworld.com) Received: from ntlworld.com (alpha.private.lan [192.168.0.2]) by pc1-cove2-4-cust33.bir.cable.ntl.com (8.12.6/8.12.6) with ESMTP id gA4JvCLT023128; Mon, 4 Nov 2002 19:57:17 GMT (envelope-from ianjhart@ntlworld.com) Message-ID: <3DC6D118.451E24AB@ntlworld.com> Date: Mon, 04 Nov 2002 19:57:12 +0000 From: ian j hart X-Mailer: Mozilla 4.79 [en] (X11; U; Linux 2.4.2 i386) X-Accept-Language: en MIME-Version: 1.0 To: Lefteris Tsintjelis Cc: "Scot W. Hetzel" , freebsd-stable@FreeBSD.ORG Subject: Re: Sendmail with SASLv2 starts before saslauthd References: <3DC3BAB1.4D759997@ene.asda.gr> <012101c282ed$76ef9cf0$12fd2fd8@Admin01> <3DC6B945.285519B7@ene.asda.gr> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Lefteris Tsintjelis wrote: > > "Scot W. Hetzel" wrote: > > > > From: "Lefteris Tsintjelis" > > > When building world in 4.7-stable with sendmail and SASLv2 support, > > > sendmail complains that there is no SASL running. Problem is that > > > sendmail starts before saslauthd. Is there a proper way of starting > > > saslauthd before sendmail starts? > > > > > No, you'll need to patch /etc/rc.sendmail and then remove > > ${prefix}/etc/rc.d/saslauthd.sh. Maybe you cannot start saslauthd before sendmail, but you certainly can start sendmail after saslauthd. /etc/rc.sendmail was designed to be compatible with usage from ${local_startup} So, disable sendmail startup by setting mta_start_script="" in /etc/rc.conf copy /etc/rc.sendmail to /usr/local/etc/rc.d/whatever.sh and that's all she wrote. > > > > In 5.0-CURRENT with/RC_NG all you'll need to do is move > > ${prefix}/etc/rc.d/saslauthd.sh to /etc/rc.d/saslauthd to have saslauthd > > start before sendmail (see PR 43673 for RC_NG patch for > > security/cyrus-sasl2). > > > > Scot > > > > PS: Attached is an untested patch for rc.sendmail > > Thank you Scott. The patch worked out good. It has a problem with > stoping though. It doesn't completly stop sendmail. I'll try and figure > that out. > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-stable" in the body of the message -- ian j hart Quoth the raven, bite me! Salem Saberhagen (Episode LXXXI: The Phantom Menace) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message