[Dovecot] Shared Folders via Symlinking

Timo Sirainen tss at iki.fi
Sat Jan 1 18:40:06 EET 2011


On Sat, 2011-01-01 at 16:35 +0000, Adrian Mardlin wrote:
> 
> > Well, http://hg.dovecot.org/dovecot-2.0/rev/b78e772cf1d2 fixes this
> > problem but I'm not sure what to do about the indexing problem..
> I'll
> > either have to fix it some way or just disallow symlinks..
> > 
> 
> How about simply deleting the index files before removing the symlink?
> Why would the Index files need to indicate that a mailbox has been
> deleted - surely that's handled by the fact that it's not there any
> more?

It's to avoid race conditions when another session accesses a mailbox
during mailbox deletion. For example quota could get screwed up.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20110101/7e351bdd/attachment.bin 


More information about the dovecot mailing list