From owner-freebsd-questions Mon Jul 22 8:44:46 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3AFA037B400 for ; Mon, 22 Jul 2002 08:44:43 -0700 (PDT) Received: from catflap.home.slightlystrange.org (host217-39-153-84.in-addr.btopenworld.com [217.39.153.84]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9F0A443E4A for ; Mon, 22 Jul 2002 08:44:36 -0700 (PDT) (envelope-from dan@slightlystrange.org) Received: from danielby by catflap.home.slightlystrange.org with local (Exim 3.36 #1) id 17WfMK-0007vW-00 for questions@freebsd.org; Mon, 22 Jul 2002 16:44:28 +0100 Date: Mon, 22 Jul 2002 16:44:28 +0100 From: Daniel Bye To: questions@freebsd.org Subject: Re: sendmail and mqueue permissions Message-ID: <20020722154428.GB28223@catflap.home.slightlystrange.org> Reply-To: dan@slightlystrange.org Mail-Followup-To: questions@freebsd.org References: <20020722091256.A45436@freebsdportal.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020722091256.A45436@freebsdportal.com> User-Agent: Mutt/1.4i X-Scanner: exiscan *17WfMK-0007vW-00*tSJRhZPziHo* (SlightlyStrange.org, Using NOD32 http://www.nod32.com) Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, Jul 22, 2002 at 09:12:56AM -0400, Jim Freeze wrote: > Hi: > > I get the following error in my log: > > rabbit kernel log messages: > > bbit sendmail[177]: g67NOTKK000177: SYSERR(root): queueup: cannot create queue temp file ./tfg67NOTKK000177, uid=25: Permission denied > > My permissions are: > -r-xr-sr-x 1 root smmsp 582428 Jul 7 18:45 sendmail* > drwxrwx--- 2 smmsp smmsp 512 Jul 22 09:04 clientmqueue/ > drwxr-xr-x 2 root daemon 512 Jul 22 09:08 mqueue/ > > I tried changing the owner of mqueue from root to smmsp, but then > I could not receive mail. > > Can someone tell me why I get the permission denied error. Try this: # chown :smmsp mqueue # chmod g+w mqueue The sendmail binary is setgid, so the group ownership on the mqueue directory is the significant part here. HTH Dan -- Daniel Bye PGP Key: ftp://ftp.slightlystrange.org/pgpkey/dan.asc PGP Key fingerprint: 3D73 AF47 D448 C5CA 88B4 0DCF 849C 1C33 3C48 2CDC _ ASCII ribbon campaign ( ) - against HTML, vCards and X - proprietary attachments in e-mail / \ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message