Adam McDougall
2007-Nov-16 23:44 UTC
[Dovecot] Path to public folder subscription file not created in 1.1b7?
I use CONTROL=%h/Maildir/dovecot/public/control/[namespace] for each of my public namespaces. A few nights ago, I noticed having a new user subscribe to public folders for the first time will silently fail, becuase the path up to the subscriptions file will not be created. I am pretty sure dovecot used to create it for me, but maybe that changed in a recent version, or maybe I did something to break it? Work around is to mkdir -p /home/[user]/Maildir/dovecot/public/control/[namespace] but I'd like to avoid having to do that. Once I create the directory and make sure it is writable, the client can subscribe to public folders in that namespace. If they do not have permission, it still silently fails. namespace: type: public separator: / prefix: #shared/decs/ location: maildir:/egr/mail/shared/decs:CONTROL=%h/Maildir/dovecot/public/control/decs:INDEX=%h/Maildir/dovecot/%q/public/indexes/decs list: yes subscriptions: yes
Timo Sirainen
2007-Nov-17 00:11 UTC
[Dovecot] Path to public folder subscription file not created in 1.1b7?
On 17.11.2007, at 1.44, Adam McDougall wrote:> I use CONTROL=%h/Maildir/dovecot/public/control/[namespace] for > each of my public > namespaces. A few nights ago, I noticed having a new user > subscribe to public folders > for the first time will silently fail, becuase the path up to the > subscriptions file > will not be created.It should have logged an error. But yes, this did change recently. Fixed now in hg.> namespace: > type: public > separator: / > prefix: #shared/decs/ > location: > maildir:/egr/mail/shared/decs:CONTROL=%h/Maildir/dovecot/public/ > control/decs:INDEX=%h/Maildir/dovecot/%q/public/indexes/decs > list: yes > subscriptions: yesIf you set subscriptions=no they'll be stored in the root namespace's subscriptions. If there are no problems with permissions, you could use a shared control directory for all users. -------------- next part -------------- A non-text attachment was scrubbed... Name: PGP.sig Type: application/pgp-signature Size: 186 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20071117/521a3eb9/attachment-0002.bin>
Seemingly Similar Threads
- Dovecot not handling r/o mailboxes completely, and problem with ACL as a workaround
- assertion failed: (mailbox_list_is_valid_existing_name(_list, name))
- Users w/o acl access appear to be subscribed to public folders (1.1b8)
- dovecot 1.1b4 not listing public folder children
- imap fs quota (rpc) won't work?