Postfix can't deliver mail to virtual domains - cannot create
file exclusively
Pat Maddox
pergesu at gmail.com
Sat Feb 5 00:51:10 PST 2005
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 at 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 at ps102.de> wrote:
> > Hi Pat,
> >
> >
> > > Feb 4 19:57:59 cantona postfix/virtual[579]: CA35333C1D:
> > > to=<pergesu at 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
> >
>
More information about the freebsd-questions
mailing list