Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 5 Feb 2005 01:51:08 -0700
From:      Pat Maddox <pergesu@gmail.com>
To:        Volker Kindermann <ml@ps102.de>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Postfix can't deliver mail to virtual domains - cannot create file exclusively
Message-ID:  <810a540e05020500513f1cae41@mail.gmail.com>
In-Reply-To: <810a540e0502050048761dd406@mail.gmail.com>
References:  <810a540e05020418067191854@mail.gmail.com> <420482B3.6030507@ps102.de> <810a540e0502050048761dd406@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <pergesu@gmail.com> 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 <ml@ps102.de> wrote:
> > Hi Pat,
> >
> >
> > > Feb  4 19:57:59 cantona postfix/virtual[579]: CA35333C1D:
> > > to=<pergesu@javaspot.net>, 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
> >
>



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