From owner-freebsd-ports@FreeBSD.ORG Thu May 1 17:38:37 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 D328137B401; Thu, 1 May 2003 17:38:37 -0700 (PDT) Received: from mail.westbend.net (ns1.westbend.net [216.47.253.3]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9746B43F75; Thu, 1 May 2003 17:38:36 -0700 (PDT) (envelope-from hetzels@westbend.net) Received: from Admin02 (admin02.westbend.net [216.47.253.19]) by mail.westbend.net (8.12.9/8.12.9) with SMTP id h420cWdR097790; Thu, 1 May 2003 19:38:32 -0500 (CDT) (envelope-from hetzels@westbend.net) Message-ID: <005a01c31043$2b360680$13fd2fd8@Admin02> From: "Scot W. Hetzel" To: "FreeBSD Questions List" References: <20030428184857.V33294@rigel.orionsys.com> Date: Thu, 1 May 2003 19:38:36 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-Virus-Scanned: by amavisd-milter (http://amavis.org/) X-Spam-Status: No, hits=0.0 required=8.0 tests=QUOTED_EMAIL_TEXT,REFERENCES,SPAM_PHRASE_03_05, USER_AGENT_OE version=2.43 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: Fri, 02 May 2003 00:38:38 -0000 From: "David Babler" > 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" > > We found the problem, the initial sendmail mail submission program was causing these errors to occur when sending mail from the local system. To solve this problem you need to put the following into the submit.mc file that you use on your system (i.e. freebsd.submit.mc): define(`confRUN_AS_USER',`smmsp:mail')dnl define(`confTRUSTED_USER',`smmsp')dnl define(`confDONT_BLAME_SENDMAIL',`GroupReadableSASLDBFile')dnl NOTE: You must define confTRUSTED_USER, otherwise you will get an error in the log (readcf: option TrustedUser: unknown user smmsp:mail). This is caused by FEATURE(msp) defines confTRUSTED_USER using the confRUN_AS_USER value if not defined. Scot