Re: [g.danti@assyoma.it: [Dovecot] Re: Questions about hardlinks, alternate storage and compression]
Il 26-11-2015 15:15 John R. Dennison ha scritto:
You are strongly encouraged to update that CentOS system. Current is 6.7 (released some 3 months ago) and dovecot-2.0.9-19.
Ouch! I copied outdated information from my old post. My current system _is_ CentOS 6.7 with dovecot dovecot-2.0.9-19.el6_7.2.x86_64
Sorry for the confusion. Still, the problems remain
If you find you need a more modern dovecot version you will find that dovecot-2.2.19-1 is in the GhettoForge 3rd-party repo, packaged and maintained by a respected CentOS community member. Information on this repo can be found by following the links off of:
The point is that I _don't know_ if more recent Dovecot version have the same problem or not. Moreover, as this is a production machine, I would like to leave a key package as Dovecot as near as possible to the shipping O.S.
Thanks.
-- Danti Gionatan Supporto Tecnico Assyoma S.r.l. - www.assyoma.it email: g.danti@assyoma.it - info@assyoma.it GPG public key ID: FF5F32A8
On November 26, 2015 3:28:22 PM Gionatan Danti g.danti@assyoma.it wrote:
Il 26-11-2015 15:15 John R. Dennison ha scritto:
You are strongly encouraged to update that CentOS system. Current is 6.7 (released some 3 months ago) and dovecot-2.0.9-19.
Ouch! I copied outdated information from my old post. My current system _is_ CentOS 6.7 with dovecot
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
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@assyoma.it - info@assyoma.it GPG public key ID: FF5F32A8
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@assyoma.it - info@assyoma.it GPG public key ID: FF5F32A8
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
Hi Timo, glad to know it is in your TODO list ;)
Any rough ETA on that? Thanks.
On 30/11/2015 14:23, Timo Sirainen wrote:
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
-- Danti Gionatan Supporto Tecnico Assyoma S.r.l. - www.assyoma.it email: g.danti@assyoma.it - info@assyoma.it GPG public key ID: FF5F32A8
On 30 Nov 2015, at 17:48, Gionatan Danti g.danti@assyoma.it wrote:
Hi Timo, glad to know it is in your TODO list ;)
It's been for many years.
Any rough ETA on that?
Right now it doesn't seem likely to be developed anytime soon.
Thanks.
On 30/11/2015 14:23, Timo Sirainen wrote:
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
-- Danti Gionatan Supporto Tecnico Assyoma S.r.l. - www.assyoma.it email: g.danti@assyoma.it - info@assyoma.it GPG public key ID: FF5F32A8
Il 30-11-2015 23:23 Timo Sirainen ha scritto:
On 30 Nov 2015, at 17:48, Gionatan Danti g.danti@assyoma.it wrote:
Hi Timo, glad to know it is in your TODO list ;)
It's been for many years.
Any rough ETA on that?
Right now it doesn't seem likely to be developed anytime soon.
Thank you anyway :)
It let me wonder if I am the only one caring about hardlinks... Maybe I overstate the space savings?
Thanks.
-- Danti Gionatan Supporto Tecnico Assyoma S.r.l. - www.assyoma.it email: g.danti@assyoma.it - info@assyoma.it GPG public key ID: FF5F32A8
Hi list, any news regarding hardlinks + sieve/pigeonhole setup?
Hardlinking seems a very important feature to me, and I would really like to get it working.
Thanks.
On 30/11/2015 14:23, Timo Sirainen wrote:
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
-- Danti Gionatan Supporto Tecnico Assyoma S.r.l. - www.assyoma.it email: g.danti@assyoma.it - info@assyoma.it GPG public key ID: FF5F32A8
It's a rather difficult change and also pretty low priority right now. I'd be happy to explain the details to whoever wants to develop this, but I wouldn't be surprised if it was still unimplemented a few years from now.
On 07 Jun 2016, at 15:59, Gionatan Danti g.danti@assyoma.it wrote:
Hi list, any news regarding hardlinks + sieve/pigeonhole setup?
Hardlinking seems a very important feature to me, and I would really like to get it working.
Thanks.
On 30/11/2015 14:23, Timo Sirainen wrote:
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
-- Danti Gionatan Supporto Tecnico Assyoma S.r.l. - www.assyoma.it email: g.danti@assyoma.it - info@assyoma.it GPG public key ID: FF5F32A8
OK, I see. Let me attack the problem from another side: there is any method to use some sort of message filtering (not necessarily Sieve) without destroying hardlinking capability? Or are you all running dovecot without hardlinking?
Thanks.
Il 08-06-2016 02:13 Timo Sirainen ha scritto:
It's a rather difficult change and also pretty low priority right now. I'd be happy to explain the details to whoever wants to develop this, but I wouldn't be surprised if it was still unimplemented a few years from now.
On 07 Jun 2016, at 15:59, Gionatan Danti g.danti@assyoma.it wrote:
Hi list, any news regarding hardlinks + sieve/pigeonhole setup?
Hardlinking seems a very important feature to me, and I would really like to get it working.
Thanks.
On 30/11/2015 14:23, Timo Sirainen wrote:
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
-- Danti Gionatan Supporto Tecnico Assyoma S.r.l. - www.assyoma.it email: g.danti@assyoma.it - info@assyoma.it GPG public key ID: FF5F32A8
-- Danti Gionatan Supporto Tecnico Assyoma S.r.l. - www.assyoma.it email: g.danti@assyoma.it - info@assyoma.it GPG public key ID: FF5F32A8
participants (3)
-
Benny Pedersen
-
Gionatan Danti
-
Timo Sirainen