From owner-freebsd-stable Mon Nov 4 10:14:57 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 2E58437B401 for ; Mon, 4 Nov 2002 10:14:56 -0800 (PST) Received: from ene.asda.gr (ene.asda.gr [193.92.118.161]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0A21F43E42 for ; Mon, 4 Nov 2002 10:14:55 -0800 (PST) (envelope-from lefty@ene.asda.gr) Received: from ene.asda.gr (lefty.ene.asda.gr [193.92.118.162]) (authenticated bits=0) by ene.asda.gr (8.12.6/8.12.6) with ESMTP id gA4IEoIS041166; Mon, 4 Nov 2002 20:14:52 +0200 (EET) (envelope-from lefty@ene.asda.gr) Message-ID: <3DC6B945.285519B7@ene.asda.gr> Date: Mon, 04 Nov 2002 20:15:33 +0200 From: Lefteris Tsintjelis X-Mailer: Mozilla 4.8 [en] (Windows NT 5.0; U) X-Accept-Language: en,el MIME-Version: 1.0 To: "Scot W. Hetzel" Cc: freebsd-stable@FreeBSD.ORG Subject: Re: Sendmail with SASLv2 starts before saslauthd References: <3DC3BAB1.4D759997@ene.asda.gr> <012101c282ed$76ef9cf0$12fd2fd8@Admin01> Content-Type: text/plain; charset=iso-8859-7 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 "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. > > 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