Re: Permissions of /var/mail/$USER

2009-10-13 Thread Timo Sirainen
(Sorry about messing up threading, but I'm not subscribed and wasn't Cc'd) IIRC, it was a problem for the support of shared mailboxes. Index files are created whose permissions mimic the mailbox' permissions. The 'mail' group ownership would require dovecot to be in the mail group. Why?

Re: Permissions of /var/mail/$USER

2009-10-12 Thread Jaldhar H . Vyas
Russell Coker russell at coker.com.au writes: On Sunday 11 October 2009 23:49:22 Nicolas François wrote: IIRC, it was a problem for the support of shared mailboxes. Index files are created whose permissions mimic the mailbox' permissions. The 'mail' group ownership would require dovecot

Permissions of /var/mail/$USER

2009-10-11 Thread Nicolas François
Hello, When an user is created, useradd creates a /var/mail/$USER mailbox with the mode 0660 (owned by $USER:mail). I heard this causes some issues for dovecot, and a solution could be to move to mode 0600. I would like to change shadow in that direction, with a configure option to restore the

Re: Permissions of /var/mail/$USER

2009-10-11 Thread Bjørn Mork
Nicolas François nicolas.franc...@centraliens.net writes: When an user is created, useradd creates a /var/mail/$USER mailbox with the mode 0660 (owned by $USER:mail). I heard this causes some issues for dovecot, and a solution could be to move to mode 0600. Where did you hear this? Exactly

Re: Permissions of /var/mail/$USER

2009-10-11 Thread Nicolas François
Hello, On Sun, Oct 11, 2009 at 12:45:20PM +0200, Bjørn Mork wrote: Nicolas François nicolas.franc...@centraliens.net writes: When an user is created, useradd creates a /var/mail/$USER mailbox with the mode 0660 (owned by $USER:mail). I heard this causes some issues for dovecot, and a

Re: Permissions of /var/mail/$USER

2009-10-11 Thread Timo Sirainen
On Oct 11, 2009, at 8:49 AM, Nicolas François wrote: When an user is created, useradd creates a /var/mail/$USER mailbox with the mode 0660 (owned by $USER:mail). I heard this causes some issues for dovecot, and a solution could be to move to mode 0600. IIRC, it was a problem for the

Re: Permissions of /var/mail/$USER

2009-10-11 Thread Steve Langasek
On Sun, Oct 11, 2009 at 06:26:33PM -0400, Timo Sirainen wrote: On Oct 11, 2009, at 8:49 AM, Nicolas François wrote: When an user is created, useradd creates a /var/mail/$USER mailbox with the mode 0660 (owned by $USER:mail). I heard this causes some issues for dovecot, and a solution

Re: Permissions of /var/mail/$USER

2009-10-11 Thread Russell Coker
On Sunday 11 October 2009 23:49:22 Nicolas François wrote: IIRC, it was a problem for the support of shared mailboxes. Index files are created whose permissions mimic the mailbox' permissions. The 'mail' group ownership would require dovecot to be in the mail group. Why? For Dovecot to access