[dovecot] Re: Shared Folders?

Timo Sirainen tss at iki.fi
Thu Mar 13 17:59:03 EET 2003


On Thu, Mar 13, 2003 at 02:12:51PM +0100, Moe Wibble wrote:
> Are there any plans to make shared folders available in dovecot anytime soon?

Well .. it's kind of possible already with symlinks, eg.:

ln -s /home/shared/Maildir/.shared.folder /home/user/Maildir/

Problems with that:
 - No way to do it from IMAP client, ie. no ACL support. No plans to support
that in near future
 - Sharing index files may not be that good idea from security point of
view, especially if users have direct access to filesystem. Specifying
different location for index files would then be good idea so each user
would have their own: default_mail_env = Maildir:~/Maildir:INDEX=~/indexes
 - If indexes aren't shared, there may be occational syncing problems when
someone changes message flag and another user just tries to fetch the
message. Dovecot will give "message not found" error, but next fetch will
work. This will be fixed by re-syncing maildir folder when it can't find
some file.
 - Sharing mbox files won't have the above problem, but flag changes aren't
noted by other users until you close the mailbox. I'll probably fix this
later so that the flag changes are written to mbox at least once in a few
seconds (if not immediately)
 - All users will have shared mail flags




More information about the dovecot mailing list