From owner-freebsd-stable Thu Aug 22 3:43:36 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id ABF1037B400 for ; Thu, 22 Aug 2002 03:43:33 -0700 (PDT) Received: from nef.ens.fr (nef.ens.fr [129.199.96.32]) by mx1.FreeBSD.org (Postfix) with ESMTP id 770E443E4A for ; Thu, 22 Aug 2002 03:43:32 -0700 (PDT) (envelope-from Rahul.Siddharthan@lpt.ens.fr) Received: from corto.lpt.ens.fr (corto.lpt.ens.fr [129.199.122.2]) by nef.ens.fr (8.10.1/1.01.28121999) with ESMTP id g7MAhVl34343 ; Thu, 22 Aug 2002 12:43:31 +0200 (CEST) Received: from (rsidd@localhost) by corto.lpt.ens.fr (8.9.3/jtpda-5.3.1) id MAA30084 ; Thu, 22 Aug 2002 12:43:25 +0200 (CEST) Date: Thu, 22 Aug 2002 12:43:25 +0200 From: Rahul Siddharthan To: Petri Turunen Cc: freebsd-stable@freebsd.org Subject: Re: problem with qmail and home dir permissions Message-ID: <20020822124325.C21733@lpt.ens.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <5.1.1.6.0.20020822115959.00b43078@lx01.tsavo.fi> X-Operating-System: FreeBSD 3.4-STABLE i386 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Petri Turunen wrote: > I have working qmail and freebsd but there is small problem. > My home dir permission is 775 and if i change permission to 770 qmail > cant deliver mail to me anymore. > > qmail-queue's permissions: > -rws--x--x 1 qmailq qmail 12720 15 Jou 2001 qmail-queue The relevant programs for local mail delivery are qmail-lspawn and qmail-local (in particular, the latter). Check the permissions and ownership on these. By default I think they're installed as owner root, group qmail, but I'm not sure how they're run (ie, as which user). I think you may need at least execute permission on your home directory. If you really don't want to do that, try making qmail-lspawn and qmail-local suid root. Also make sure your Maildir (if you're using maildir) has the right permissions too (I've never used qmail-local, only /bin/mail or procmail, so I'm not sure). R To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message