30 Nov
2015
30 Nov
'15
3:23 p.m.
On 30 Nov 2015, at 10:21, Gionatan Danti <g.danti@assyoma.it> 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