Questions about hardlinks, alternate storage and compression]

Timo Sirainen tss at
Mon Nov 30 13:23:10 UTC 2015

On 30 Nov 2015, at 10:21, Gionatan Danti <g.danti at> wrote:
> So, let me do a straigth question: is someone using dovecot/LMTP with hardlinking? To me, this seems a _very_ important feature, and I wonder if I am doing something wrong or if the feature (hardlink+sieve) simply does not exists.

Hardlink+Sieve has never worked. The fix is a bit complicated. Here's my TODO entry about it:

 - remove mail_deliver_session after all, do all the stuff transparently
   by hooking into mailbox_copy().
     - use this hook also to do the mail deduplication: 1) sort all destination
       users, 2) create mail_user only once for each user, 3) remember in
       src_mail the previously copied mail, 4) use that for mailbox_copy()ing
       to following recipients
     - make sure this removes duplicate dbox mails when sieve saves mail to
       multiple mailboxes

More information about the dovecot mailing list