On 31 May 2005, at 16:46, S�nke Ruempler wrote: > Hi Davide and list, > > a couple of weeks ago there was a little discussion on the list about > the file permissions and creation masks. I was the one who answered: > If you chmod your MailRoot 700, you don't have to care about these > things. > > But now I ran into a problem: I want to grant some read access to a > unix-group (e.g. mail) that can do support things like checking the > logs and mailboxes and so on. No problem so far for configs and logs, > make MailRoot group owner to "mail" and chmod g+r, g+x. But in the > domains/ dir, XMail creates the directories root.root and 700. So my > question is, would it be possible to add some feature to XMail to > choose > > a) the gid > b) the umask > > which are used to create new files and directories? > > Any hints, thoughts or other ideas on this topic?
On FreeBSD I've wanted local users to be able to access their own directories so have these users all in xmail group and their own directories owned user:xmail. This allows for local mail to be via xmail. I'm not too experienced with permissions settings so may have left some holes but as a user have only been able to see and access that users own files and get permission denied on attempt to access any other users directory. MailRoot and files are owned xmail:xmail. I'm currently trying to move to NetBSD and will setup in similar manner although 1.21 failed to compile and I'm not sure my change to the makefile that allowed it to install will have produced a working XMail (I've just telneted localhost 25 and a mail to [EMAIL PROTECTED] arrived ok). David - To unsubscribe from this list: send the line "unsubscribe xmail" in the body of a message to [EMAIL PROTECTED] For general help: send the line "help" in the body of a message to [EMAIL PROTECTED]
