Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 1 Feb 2003 11:03:46 +0000
From:      Matthew Seaman <m.seaman@infracaninophile.co.uk>
To:        FreeBSD-questions@FreeBSD.ORG
Subject:   Re: Sendmail directory ownership changed
Message-ID:  <20030201110346.GB84798@happy-idiot-talk.infracaninophi>
In-Reply-To: <000001c2c994$ff9a99e0$0400a8c0@RUKI>
References:  <000001c2c994$ff9a99e0$0400a8c0@RUKI>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030201110346.GB84798>