From owner-freebsd-questions Sat Feb 1 3: 3:59 2003 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 4DC8137B401 for ; Sat, 1 Feb 2003 03:03:58 -0800 (PST) Received: from smtp.infracaninophile.co.uk (smtp.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id 35C3A43F75 for ; Sat, 1 Feb 2003 03:03:57 -0800 (PST) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [IPv6:::1]) by smtp.infracaninophile.co.uk (8.12.6/8.12.6) with ESMTP id h11B3p0F085382 for ; Sat, 1 Feb 2003 11:03:51 GMT (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost) by happy-idiot-talk.infracaninophile.co.uk (8.12.6/8.12.6/Submit) id h11B3kKQ085381 for FreeBSD-questions@FreeBSD.ORG; Sat, 1 Feb 2003 11:03:46 GMT Date: Sat, 1 Feb 2003 11:03:46 +0000 From: Matthew Seaman To: FreeBSD-questions@FreeBSD.ORG Subject: Re: Sendmail directory ownership changed Message-ID: <20030201110346.GB84798@happy-idiot-talk.infracaninophi> Mail-Followup-To: Matthew Seaman , FreeBSD-questions@FreeBSD.ORG References: <000001c2c994$ff9a99e0$0400a8c0@RUKI> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <000001c2c994$ff9a99e0$0400a8c0@RUKI> User-Agent: Mutt/1.5.3i X-Spam-Status: No, hits=-3.0 required=5.0 tests=IN_REP_TO,QUOTED_EMAIL_TEXT,REFERENCES,SPAM_PHRASE_00_01, USER_AGENT,USER_AGENT_MUTT version=2.43 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 Fri, Jan 31, 2003 at 07:55:24PM -0600, Joey Teel wrote: > A few days ago I started getting errors in my syslog saying that > sendmail couldn't write to the mail directories, on inspection of the > permissions, I discovered that all the mail directories had been changed > to be owned by my personal UID and GID > > Can someone tell me what the proper permissions should be on the mail > directories used by sendmail for it's queue? Take a look at the mtree(8) man page, and then try this: # cd /var # mtree -eU -f /etc/mtree/BSD.var.dist # cd / # mtree -eU -f /etc/mtree/BSD.sendmail.dist Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message