Postfix can't deliver mail to virtual domains - cannot create
file exclusively
Chuck Swiger
cswiger at mac.com
Sat Feb 5 11:57:16 PST 2005
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
More information about the freebsd-questions
mailing list