From owner-freebsd-questions@FreeBSD.ORG Sat Feb 5 08:51:10 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 2326E16A4CE for ; Sat, 5 Feb 2005 08:51:10 +0000 (GMT) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7D4BC43D41 for ; Sat, 5 Feb 2005 08:51:09 +0000 (GMT) (envelope-from pergesu@gmail.com) Received: by wproxy.gmail.com with SMTP id 58so535693wri for ; Sat, 05 Feb 2005 00:51:09 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=l88zWKi6b55th6aKQUkQzBqNuEDjHxv/viUdI9bGKIiKMQfjNDMLsaksd0z9/w10KBhSpub/mA0oBsQkmltK+hvWunce2xc4+iCJzDuicDbY25o6P/8FkglcAWP26K0+K6HQQJ4B72HP1BvGC84qbaI52l/71VLoFGxSgkUrRjg= Received: by 10.54.48.16 with SMTP id v16mr105994wrv; Sat, 05 Feb 2005 00:51:08 -0800 (PST) Received: by 10.54.42.28 with HTTP; Sat, 5 Feb 2005 00:51:08 -0800 (PST) Message-ID: <810a540e05020500513f1cae41@mail.gmail.com> Date: Sat, 5 Feb 2005 01:51:08 -0700 From: Pat Maddox To: Volker Kindermann In-Reply-To: <810a540e0502050048761dd406@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <810a540e05020418067191854@mail.gmail.com> <420482B3.6030507@ps102.de> <810a540e0502050048761dd406@mail.gmail.com> 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 Reply-To: Pat Maddox List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Feb 2005 08:51:10 -0000 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. On Sat, 5 Feb 2005 01:48:30 -0700, Pat Maddox wrote: > I got it working, and managed to get courier-imap working as well. > > The only problem (big problem?) is that I had to chmod 777 /var/mail > to get it all working together. I'm trying to figure out what > permissions I can give it to ensure that postfix and courier-imap can > work together...but neither one seems to work with regular > permissions. I think I've got them in the correct groups and > everything, but I'm not sure. > > It's not a HUGE deal at this point, because I'm the only user on the > system, and don't intend to let anyone else have shell access. Still, > I'd like to have things set up correctly. I would have figured that > the way FreeBSD installed it would have worked...apparently not. > > > On Sat, 05 Feb 2005 09:24:19 +0100, Volker Kindermann wrote: > > Hi Pat, > > > > > > > Feb 4 19:57:59 cantona postfix/virtual[579]: CA35333C1D: > > > to=, relay=virtual, delay=0, status=deferred > > > (mailbox /var/mail/vhosts/javaspot.net/pergesu: cannot create file > > > exclusively: No such file or directory) > > > > > > Shouldn't PostFix create the vhosts/javaspot.net directory and pergesu > > > file automatically when it delivers the mail? Not sure what the > > > problem is here. I can send mail to local users just fine, so I don't > > > think it's a permissions problem. > > > > please post your main.cf and the files with the virtual entries. > > > > > > -volker > > >