[Dovecot] file permissions
Dovecot 1.2.12 maildir format using :LAYOUT=fs (my Mail dir came from KDE)
I can't remember the permissions of the /Mail/ directory because I haven't been concerned with it too much until now. I think they were user:user or user:mail. Now a new mail ends up 600 root:mail. (in alternate directories) When I start my mutt client to the imap server it gets an error for any folder containing a root:mail new mail file. I think the root ownership is a procmail side effect? If I chmod 760 Mail/folder/* (then the new emails show in dovecot without the access error) It appears mail comes to the INBOX fine just not individual folders
On the initial access, dovecot gets a "missing +r perm" or "+x" in the log.
1: What permission structure should permeate my Mail dir? 2: What might affect the incoming mail file getting wrong permissions/ownership?
I'm thinking the later may be a procmail issue unless it is related to initial incorrect permissions?
Thanks for any insight. -Walt
On 2011-03-28 3:36 PM, Walt Shekrota wrote:
I'm thinking the later may be a procmail issue unless it is related to initial incorrect permissions?
Timo - I'm curious... some programs have the ability to check permissions on their respective directories they work with/on, and fix them if necessary... any chance dovecot could do that?
--
Best regards,
Charles
On 03/28/11 15:49, Charles Marcus wrote:
I'm thinking the later may be a procmail issue unless it is related to initial incorrect permissions? Timo - I'm curious... some programs have the ability to check
On 2011-03-28 3:36 PM, Walt Shekrota wrote: permissions on their respective directories they work with/on, and fix them if necessary... any chance dovecot could do that?
please make sure this is optional. dovecot always tries to set the wrong ownership on our servers.
-david
On 2011-03-28 4:21 PM, Charles Marcus wrote:
On 2011-03-28 4:02 PM, David Ford wrote:
please make sure this is optional. dovecot always tries to set the wrong ownership on our servers.
Of course I meant a doveadm argument...
Something like doveadm --fix-perms
and of course it should take take your config into account.
--
Best regards,
Charles
participants (3)
-
Charles Marcus
-
David Ford
-
Walt Shekrota