[Dovecot] Shared folders and subscriptions

Timo Sirainen tss at iki.fi
Sat Apr 18 02:07:49 EEST 2009


On Apr 17, 2009, at 6:28 PM, Markus Werner wrote:

>> Or you could also see if you could create a private namespace with
>> prefix="#User/" and subscriptions=yes, perhaps with
>> location=maildir:/var/lib/dovecot/empty:CONTROL=~/Maildir/shared  
>> where
>> the empty directory would be a world-readable non-writable empty
>> directory. That namespace should then catch subscriptions to shared
>> mailboxes.
>
> I tried this. The following is logged:
>
> Apr 18 00:12:01 asterix dovecot: IMAP(markus at example.com):
> fchown(/var/spool/dovecot/users/example.com/markus/Maildir/control/ 
> shared/subscriptions.lock,
> -1, 0) failed: Operation not permitted

It tries to preserve the group. Try chmod g+s to the empty directory.



More information about the dovecot mailing list