Re: Postfix can't deliver mail to virtual domains - cannot create file exclusively

2005-02-05 Thread Chuck Swiger
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

[RESOLVED] Postfix can't deliver mail to virtual domains - cannot create file exclusively

2005-02-05 Thread Pat Maddox
Volker, thanks for all your help. I got everything running smoothly. For courier-imap, I set the uid and gid in the authmysqlrc file. But I needed to set the uid and gid in both postfix and courier...so your instructions helped greatly. Thanks a lot! Pat On Sat, 05 Feb 2005 14:36:19 +0100,

Re: Postfix can't deliver mail to virtual domains - cannot create file exclusively

2005-02-05 Thread Volker Kindermann
Hi Pat, 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 a

Re: Postfix can't deliver mail to virtual domains - cannot create file exclusively

2005-02-05 Thread Pat Maddox
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. B

Re: Postfix can't deliver mail to virtual domains - cannot create file exclusively

2005-02-05 Thread Pat Maddox
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 o

Re: Postfix can't deliver mail to virtual domains - cannot create file exclusively

2005-02-05 Thread Volker Kindermann
Hi Pat, Feb 4 19:57:59 cantona postfix/virtual[579]: CA35333C1D: to=<[EMAIL PROTECTED]>, 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 an

Postfix can't deliver mail to virtual domains - cannot create file exclusively

2005-02-04 Thread Pat Maddox
I'm trying to set up postfix for virtual domains. Apparently the config is mostly correct, because it looks like PostFix is trying to complete delivery of the mail. I get this in my /var/log/maillog file: Feb 4 19:57:59 cantona postfix/virtual[579]: CA35333C1D: to=<[EMAIL PROTECTED]>, relay=vir