[Dovecot] Bug: subscriptions file does not take on the same perms as dovecot-shared
All,
Version: 1.1.rc5 Solaris x86 on ZFS Shared Folder
Bug, renamed a folder with sub folders (Maildir format) After the rename the subscriptions file is own by the person who renamed the folders, and access is owner rw only. Instead it should be the same as dovecot-shared which would general be rw owner, and rw group for a shared folder.
Cheers Damon.
On Tue, 2008-05-27 at 00:17 +1000, Damon Atkins wrote:
Bug, renamed a folder with sub folders (Maildir format) After the rename the subscriptions file is own by the person who renamed the folders, and access is owner rw only. Instead it should be the same as dovecot-shared which would general be rw owner, and rw group for a shared folder.
Do you mean you share the subscriptions file between multiple users? Wouldn't it be better for each user to have their own subscriptions (set subscriptions=no to the shared namespace)?
dovecot-shared is supposed to affect a single mailbox's files, so I don't really agree that it should affect subscriptions file.
*Timo,
*Config bit.
login_user: nobody mail_location: maildir:~/.Maildir namespace: type: private separator: / inbox: yes list: yes subscriptions: yes namespace: type: public separator: / prefix: ~XX-Shared/ location: maildir:/export/home/XX/.Maildir list: yes subscriptions: yes auth default: passdb: driver: pam userdb: driver: passwd
I tried the subscription=no, the mail client Thunderbird no longer lists the ~XX-Shared folder
If subscription=no (and I get it working this way) if someone renames a folder, does everyone see the newly renamed folders?
The above was working well except for subscriptions file perms being changed, when the file is updated.
The aim is for ~XX-Shared/ to be listed as just another folder for those who have access and all of its sub folders.
Thanks Damon.
On Tue, 2008-05-27 at 00:17 +1000, Damon Atkins wrote:
/ Bug, renamed a folder with sub folders (Maildir format) />/ After the rename the subscriptions file is own by the person who />/ renamed the folders, and access is owner rw only. />/ Instead it should be the same as dovecot-shared which would general be />/ rw owner, and rw group for a shared folder. / Do you mean you share the subscriptions file between multiple users? Wouldn't it be better for each user to have their own subscriptions (set subscriptions=no to the shared namespace)?
dovecot-shared is supposed to affect a single mailbox's files, so I don't really agree that it should affect subscriptions file.
On Tue, 2008-05-27 at 01:15 +1000, Damon Atkins wrote:
login_user: nobody mail_location: maildir:~/.Maildir namespace: type: private separator: / inbox: yes list: yes subscriptions: yes namespace: type: public separator: / prefix: ~XX-Shared/ location: maildir:/export/home/XX/.Maildir list: yes subscriptions: yes auth default: passdb: driver: pam userdb: driver: passwd
I tried the subscription=no, the mail client Thunderbird no longer lists the ~XX-Shared folder
Because then it uses the user's own subscriptions file then where XX-Shared isn't subscribed.
If subscription=no (and I get it working this way) if someone renames a folder, does everyone see the newly renamed folders?
It doesn't change the subscribed mailbox name.
The above was working well except for subscriptions file perms being changed, when the file is updated.
The aim is for ~XX-Shared/ to be listed as just another folder for those who have access and all of its sub folders.
To me this sounds like it would be better handled by configuring Thunderbird to not use subscriptions at all. Then all mailboxes are always listed.
But I think you could work around this problem by adding umask=022 to dovecot.conf. Some other files will probably then be group and world-readable as well.
On Monday 26 May 2008, Timo Sirainen wrote:
To me this sounds like it would be better handled by configuring Thunderbird to not use subscriptions at all. Then all mailboxes are always listed.
... which can be done by unchecking 'Show only subscribed folders' in Account Settings / Server Settings / Advanced... (or setting 'mail.server.server<number>.using_subscription' to false).
Patrick.
-- STAR Software (Shanghai) Co., Ltd. http://www.star-group.net/ Phone: +86 (21) 5427 7799 x 826 Fax: +86 (21) 6485 0071
PGP key: https://stshacom1.star-china.net/keys/patrick_nagel.asc Fingerprint: E09A D65E 855F B334 E5C3 5386 EF23 20FC E883 A005
participants (4)
-
Damon Atkins
-
Damon Atkins
-
Patrick Nagel
-
Timo Sirainen