This is a discussion on Re: VIRTUAL - User Permissions and Ownership within the mailing.postfix.users forums, part of the Mail Servers and Related category; Ok, let me try to answer this question...... The user and group who will be owner of /var/mail/vhosts, ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Ok, let me try to answer this question......
The user and group who will be owner of /var/mail/vhosts, can not be the root user. Create a user like "vmail" and a group like "vgroup" and give the onwership of directory for him. On main.cf, setup: virtual_uid_maps = static:uid_of_vuser virtual_gid_maps = static:gid_of_vuser >I am trying to set up the "Postfix Virtual Doamin Hosting" - 2nd example >in the HOWTO - and have run into a bit of snag. > >I created: >/var/mail/vhosts/1stdomain.com/username1 >/var/mail/vhosts/2nddomain.com/anotherusername > >but I have the error "Permissions denied" > >"who" should the owner be of :/var/mail/vhosts/1stdomain.com/username1" >(it is currently root) >What "GROUP" should it be >(I manually changed to to "users") >What file permissions >(I have manually used chmod for 664) > >The reason for the 2nd example is so that I do NOT have to declare the >users on the local (SuSE Linux) box. > > |