Gionatan Danti
2015-Nov-27 08:44 UTC
[g.danti@assyoma.it: [Dovecot] Re: Questions about hardlinks, alternate storage and compression]
> centos 7.x is latest, so if you need help upgrade make a bug report to > centos, not waste your time here since you choiced a precompiled > problem, reporting here 7s helpfull if you use dovecot compiled with > the latest version here, this migth be a unknown bug you then have > found, but not if you use precompiled problems, then report to the > maintainers of such softwareHi, does it means that when you use before_sieve and after_sieve in your dovecot configuration the hard-linking part works? I don't need help to upgrade to CentOS 7.x, but before going this route I would understand if this is how dovecot/pigenhole are expected to work (don't use hardlinks) or if I misconfigured something. RedHat / CentOS are a very common base OS, so I wonder if I am the only one hitting this problem or no. Thanks. -- Danti Gionatan Supporto Tecnico Assyoma S.r.l. - www.assyoma.it email: g.danti at assyoma.it - info at assyoma.it GPG public key ID: FF5F32A8
Gionatan Danti
2015-Nov-30 08:21 UTC
Questions about hardlinks, alternate storage and compression]
Hi all, I have some updates on the hard-link discussion. First, let me explain that I installed a test machine with CentOS 7.1 and dovecot/pigeonhole version 2.2.10-4 and the results where identical on what I had on CentOS 6.7 and dovecot 2.0.9-19 The bottom line is that hardlinking works only when no, or at most only one, RCPT have sieve filtering. For example: - if no RCPT has sieve filters, hardlink is OK - if only one RCPT has sieve filters, hardlink is OK - if two or more RCPTs have sieve filters, hardlink is NOT working. Some time ago I reported that, when disabling the sieve_before and sieve_after options, hardlinks worked; however, this really was a side effect of what written above. 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. Thanks. On 27/11/2015 09:44, Gionatan Danti wrote:>> centos 7.x is latest, so if you need help upgrade make a bug report to >> centos, not waste your time here since you choiced a precompiled >> problem, reporting here 7s helpfull if you use dovecot compiled with >> the latest version here, this migth be a unknown bug you then have >> found, but not if you use precompiled problems, then report to the >> maintainers of such software > > Hi, > does it means that when you use before_sieve and after_sieve in your > dovecot configuration the hard-linking part works? > > I don't need help to upgrade to CentOS 7.x, but before going this route > I would understand if this is how dovecot/pigenhole are expected to work > (don't use hardlinks) or if I misconfigured something. > > RedHat / CentOS are a very common base OS, so I wonder if I am the only > one hitting this problem or no. > Thanks. >-- Danti Gionatan Supporto Tecnico Assyoma S.r.l. - www.assyoma.it email: g.danti at assyoma.it - info at assyoma.it GPG public key ID: FF5F32A8
Timo Sirainen
2015-Nov-30 13:23 UTC
Questions about hardlinks, alternate storage and compression]
On 30 Nov 2015, at 10:21, Gionatan Danti <g.danti at 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
Possibly Parallel Threads
- [g.danti@assyoma.it: Re: Questions about hardlinks, alternate storage and compression]
- Questions about hardlinks, alternate storage and compression
- [g.danti@assyoma.it: Re: Questions about hardlinks, alternate storage and compression]
- Questions about hardlinks, alternate storage and compression]
- Questions about hardlinks, alternate storage and compression]