On Sat, 19 Sep 2009, Gerard wrote: > On Sat, 19 Sep 2009 12:05:44 -0400 Sahil Tandon <sa...@tandon.net> > wrote: > > [snip] > > > No, but you should compare the ownership of the delivery location > > with what you have specified in $virtual_uid_maps and > > $virtual_gid_maps. > > OK, now I am sort of confused. Postfix never creates any directory > structure. The /var/mail directory is shown as thus: > > drwxrwxr-x 2 root mail 512B Sep 19 13:28 ./
OK, so /var/mail can only be modified by root or someone in the mail group. BTW, you might as well create te vhosts directory in here. > And for groups: > > pw groupshow mail mail:*:6:clamav,postfix This is irrelevant, because of how virtual(8) works. See the man page, specifically the section on the uid and gid maps I mentioned in my initial reply. Hint: root's UID is 0 while mail's GID is 6. Neither of those numbers = 5000. From VIRTUAL_README: "mail delivery happens with the recipient's UID/GID privileges specified with virtual_uid_maps and virtual_gid_maps." > Should I change the permissions on the /var/mail directory to > something like "1777"? No. -- Sahil Tandon <sa...@tandon.net>