Re: VIRTUAL - User Permissions and Ownership

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, ...


Go Back   Usenet Forums > Mail Servers and Related > mailing.postfix.users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 05-24-2005
Leandro Mendes
 
Posts: n/a
Default Re: VIRTUAL - User Permissions and Ownership

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.
>
>


Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 06:39 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0