From owner-freebsd-ports@FreeBSD.ORG Tue Apr 29 15:47:02 2003 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 54CD237B401; Tue, 29 Apr 2003 15:47:02 -0700 (PDT) Received: from rigel.orionsys.com (rigel.orionsys.com [64.7.181.9]) by mx1.FreeBSD.org (Postfix) with ESMTP id EAB6D43F93; Tue, 29 Apr 2003 15:47:00 -0700 (PDT) (envelope-from dbabler@rigel.orionsys.com) Received: from rigel.orionsys.com (dbabler@localhost [127.0.0.1]) by rigel.orionsys.com (8.12.9/8.12.9) with ESMTP id h3TMl0fp007002; Tue, 29 Apr 2003 15:47:00 -0700 (PDT) (envelope-from dbabler@rigel.orionsys.com) X-Envelope-From: dbabler@rigel.orionsys.com X-Envelope-To: freebsd-questions@freebsd.org X-Envelope-Host: westbend.net. Received: from localhost (dbabler@localhost)h3TMl0pm006999; Tue, 29 Apr 2003 15:47:00 -0700 (PDT) (envelope-from dbabler@rigel.orionsys.com) Date: Tue, 29 Apr 2003 15:47:00 -0700 (PDT) From: David Babler To: "Scot W. Hetzel" In-Reply-To: <01b001c30e9d$cbbf6bc0$13fd2fd8@Admin02> Message-ID: <20030429152456.R33294@rigel.orionsys.com> References: <20030428184857.V33294@rigel.orionsys.com> <01b001c30e9d$cbbf6bc0$13fd2fd8@Admin02> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: FreeBSD Questions List cc: freebsd-ports@freebsd.org Subject: Re: Cyrus-SASL + sendmail 8.12.9 + "group writable file" X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Apr 2003 22:47:02 -0000 On Tue, 29 Apr 2003, Scot W. Hetzel wrote: > > Basic problem: sendmail errors with permissions/ownerships on > > /usr/local/etc/sasldb > > > > Symptom: > > maillog entry "error: safesasl(/usr/local/etc/sasldb) failed: Group > readable file" [...] > > > I just rebuilt my 4.8 test system and have no problem with > permissions/ownership on the /usr/local/etc/sasldb file as create by the > security/cyrus-sasl port. > > -rw-r----- 1 cyrus mail 16384 Apr 29 16:46 sasldb > > I used the same settings as you had posted in your previous message. > > In your sendmail.cf file does the 'O DontBlameSendmail' option have a > '#' in front of it, if it does then it is being commented out. What's > the value of the DontBlameSendmail option in the sendmail.cf file? In sendmail.cf: O DontBlameSendmail=GroupReadableSASLDBFile And it's the second non-comment line in the generated .cf file after 'V10/Berkeley'. > Are you using the freebsd.mc file, or a custom.mc file to create the *.cf > file? Custom - lots of customized anti-spam rules, and I've been doing this for years. I rebuild periodically as rules get updated, but this is the first time I've seen this weird of an error. > Also is the SENDMAIL_MC uncommented & defined to your custom.mc file in > /etc/make.conf file? No, there's no SENDMAIL_MC in /etc/make.conf, but I use the .mc form for the .mc file and have been using the 'make cf install restart' commands since they were added... before that, used to build in /usr/src/contrib/sendmail/cf/cf using m4, copy the result by hand and HUP sendmail. The whole .cf file gets built exactly as I'd expect, except that ASMTP doesn't work. That's why this is so weird - I'm not exactly new to sendmail! -Dave