On Wed, 2007-04-18 at 10:51 +0200, Jacek Osiecki wrote:
One question... I remember that such issue has been raised here some time ago, but I don't know if there were any decisions made... Is there a plan for using hard links in dovecot-LDA when the mail is going to be delivered to many recepients... In fact lack of such functionality is the only thing that holds me from switching in multiple locations to dovecot from cyrus-imap, which I really don't like (it requires LDAP, which I don't love as well ;)
It's a bit annoying to implement. I could of course always just kludge it in some way, but perhaps when shared mailbox support is finished this could be implemented more easily:
- Run deliver as some kind of a master user having access to all users' mailboxes
- Write the mail to some temporary mailbox
- Copy it to the users' mailboxes. With maildir_copy_with_hardlinks=yes this'll make them hardlinks
The temporary mailbox is needed because otherwise it's possible that the message gets expunged before it's copied to all the users' mailboxes.