SH wrote:
Hi Postfix users,
I know that this is a n00b level question, but my head hurts trying to
resolve an issue with virtual accounts and I can't seem to find anything
to help with this specific thing...
I have a postfix 2.3.8/dovecot 1.1/mysql 5.0 setup with 3 virtual
domains, mailboxes and aliases. My /vmail folder is mounted from an NFS
server. Both the NFS server and the postfix server have a user:group of
vmail:vmail (5000:5000). If set 'virtual_transport = virtual' and try to
send mail, I get the error...
Sep 29 15:49:00 mail postfix/virtual[27507]: fatal: open
/etc/postfix/mysql/virtual-mailbox-maps.cf: Permission denied
so for some reason, postfix can't open a map configuration file.
here
$ ls -l /usr/local/etc/postfix/maps/sql/mailbox
-rw------- 1 root wheel 400 Jul 14 22:08 mailbox
and it works without problems.
Sep 29 15:49:01 mail postfix/master[27477]: warning: process
/usr/lib/postfix/virtual pid 27507 exit status 1
Sep 29 15:49:01 mail postfix/master[27477]: warning:
/usr/lib/postfix/virtual: bad command startup -- throttling
what operating system are you running? any selinux/apparmor/... around?
Funny thing is, when I set 'virtual_transport = dovecot' everything
works fine (except alias maps, but that's a different issue!). My
question is this...I suspect it's a permissions issue..
Everything from the /vmail folder down (domain.tld/username) is owned by
vmail:vmail and the permissions are 755 throughout (though I've tried 777).
don't. this has nothing to do with /vmail.
Am I missing something really basic here?
Many thanks
Steve.