From owner-freebsd-questions@FreeBSD.ORG Sat Feb 5 19:57:16 2005 Return-Path: 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 B53AF16A4CE for ; Sat, 5 Feb 2005 19:57:16 +0000 (GMT) Received: from pi.codefab.com (pi.codefab.com [199.103.21.227]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4064643D54 for ; Sat, 5 Feb 2005 19:57:16 +0000 (GMT) (envelope-from cswiger@mac.com) Received: from localhost (localhost [127.0.0.1]) by pi.codefab.com (Postfix) with ESMTP id 5EBC95DA3; Sat, 5 Feb 2005 14:57:15 -0500 (EST) Received: from pi.codefab.com ([127.0.0.1]) by localhost (pi.codefab.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 05131-03; Sat, 5 Feb 2005 14:57:14 -0500 (EST) Received: from [192.168.1.3] (pool-68-161-50-112.ny325.east.verizon.net [68.161.50.112]) by pi.codefab.com (Postfix) with ESMTP id 3EB525CAF; Sat, 5 Feb 2005 14:57:14 -0500 (EST) Message-ID: <42052518.3010708@mac.com> Date: Sat, 05 Feb 2005 14:57:12 -0500 From: Chuck Swiger Organization: The Courts of Chaos User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041217 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Pat Maddox References: <810a540e05020418067191854@mail.gmail.com> <420482B3.6030507@ps102.de> <810a540e0502050048761dd406@mail.gmail.com> <810a540e05020500513f1cae41@mail.gmail.com> In-Reply-To: <810a540e05020500513f1cae41@mail.gmail.com> X-Enigmail-Version: 0.90.0.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: amavisd-new at codefab.com cc: Volker Kindermann cc: freebsd-questions@freebsd.org Subject: Re: Postfix can't deliver mail to virtual domains - cannot create file exclusively X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Feb 2005 19:57:16 -0000 Pat Maddox wrote: > By the way, the problem appears to be solely permissions-based. When > I've got normal-looking permissions on /var/mail, postfix gives that > error, "cannot create file." Courier-IMAP says, "imapd: chdir > javaspot.net/pergesu: No such file or directory" chmod 777 /var/mail > and they both work fine. But that's of course not the permissions I > want on it. You very probably want 1777 permissions (ie, using the sticky bit like /tmp to prevent people from playing games with other people's mboxes), or else you'll need to make your LDA run setuid-root, in which case 755 is right. [ Or on a few SysV systems, the LDA is setgid-mail, using 775. ] -- -Chuck