-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Hi, A feature of Cyrus-IMAPd I really missed after migrated to Dovecot is their optional "duplicate suppression", which eliminates duplicate message at deliver time, if their envelope sender, recipient and message-id matches. For example, if one subscribes to a mailing list, and someone hit "Reply All" to reply to him, there will be two different SMTP deliveries, one from the replier's server and one from the mailing list. Is it possible to do the same on latest Dovecot? (Looking at the documentation it seems not?) Or is there some better ways to implement the same functionality? Thanks in advance! Cheers, - -- Xin LI <delphij at delphij.net> http://www.delphij.net/ FreeBSD - The Power to Serve! Live free or die -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (FreeBSD) iQEcBAEBCAAGBQJN79XjAAoJEATO+BI/yjfBCO0IAMLNZ9Rkargb6bQqILAcbobt 2ZFb6cO8f4vJu/BPO7Dq3TZoIEmfR+/pbruwgV+FSslTL+5TjkB5Rd5Yb+HYgvZT Qdbk8Jshgq1XBj2MvbLQugHKhNcN37oDI9eGCDPttYe/C4Jb2hh1W+RtqGpfS6ud jXUTUzS4yr7HWRRYcyDMvL4HuG/VnKEuFYmX2T/mT8oHfz5FckIPM+k+0prbgMSx IGTdkKpSMnqYnyUjxQklSmMJ5iJMM7Lr6FMS2c6ORKwG8rD0w1GKrU77saHqJJLQ YJqqIwJcr5753US6Q1Rk4gK+/L4JmJ+2BUXDdNMYBIfPOFjH9nOLlE5HIfSskBg=fo5J -----END PGP SIGNATURE-----
On 8.6.2011, at 23.04, Xin LI wrote:> A feature of Cyrus-IMAPd I really missed after migrated to Dovecot is > their optional "duplicate suppression", which eliminates duplicate > message at deliver time, if their envelope sender, recipient and > message-id matches. For example, if one subscribes to a mailing list, > and someone hit "Reply All" to reply to him, there will be two different > SMTP deliveries, one from the replier's server and one from the mailing > list.IMHO that's a good thing. I know some people in this list think they want deduplication, but sometimes when I'm later replying to a message (I've messages over a month old I know need replying) they really would prefer for it to be shown in they inbox when I finally reply to them rather than dovecot list mailbox (which they never end up reading then).> Is it possible to do the same on latest Dovecot? (Looking at the > documentation it seems not?) Or is there some better ways to implement > the same functionality?I'm not planning on implementing anything like that.
Xin LI <delphij at delphij.net> (Wed Jun 8 22:04:51 2011): (?)> A feature of Cyrus-IMAPd I really missed after migrated to Dovecot is > their optional "duplicate suppression", which eliminates duplicate > message at deliver time, if their envelope sender, recipient and > message-id matches.Not sure, but I *think*, cyrus does dedup based on the message id and recipient only.> For example, if one subscribes to a mailing list, > and someone hit "Reply All" to reply to him, there will be two different > SMTP deliveries, one from the replier's server and one from the mailing > list.If your above statement about the dup detection is true, these two messages will be delivered both, since the envelope sender is likely to differ (most if not all list servers replace the envelope sender for several reasons (bounce detection, SPF passing, ?))> Is it possible to do the same on latest Dovecot? (Looking at the > documentation it seems not?) Or is there some better ways to implement > the same functionality?And these two messages are no duplicates. They differ in the headers, probably they differ in parts of the body (signature of the list server), EVEN they carry the same message id! A duplicate is a duplicate if the message and its copies are identical. And from MPOV this is very unlikly to happen in common environments. OTOH, if you need such feature, it shouln't be too challenging to write a MDA replacement, that decides about duplicity and finally passes the remaining messages to the Dovecot MDA. -- Heiko :: dresden : linux : SCHLITTERMANN.de GPG Key 48D0359B : 3061 CFBF 2D88 F034 E8D2 7E92 EE4E AC98 48D0 359B -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 198 bytes Desc: Digital signature URL: <http://dovecot.org/pipermail/dovecot/attachments/20110608/fbb20491/attachment-0002.bin>
On 08/06/11 22:48, Heiko Schlittermann wrote:> Xin LI <delphij at delphij.net> (Wed Jun 8 22:04:51 2011): > (?) >> A feature of Cyrus-IMAPd I really missed after migrated to Dovecot is >> their optional "duplicate suppression", which eliminates duplicate >> message at deliver time, if their envelope sender, recipient and >> message-id matches. > > Not sure, but I *think*, cyrus does dedup based on the message id and > recipient only. > >> For example, if one subscribes to a mailing list, >> and someone hit "Reply All" to reply to him, there will be two different >> SMTP deliveries, one from the replier's server and one from the mailing >> list. > > If your above statement about the dup detection is true, these two > messages will be delivered both, since the envelope sender is likely to > differ (most if not all list servers replace the envelope sender for > several reasons (bounce detection, SPF passing, ?)) > > >> Is it possible to do the same on latest Dovecot? (Looking at the >> documentation it seems not?) Or is there some better ways to implement >> the same functionality? > > And these two messages are no duplicates. They differ in the headers, > probably they differ in parts of the body (signature of the list > server), EVEN they carry the same message id! > > A duplicate is a duplicate if the message and its copies are identical. > And from MPOV this is very unlikly to happen in common environments. > > OTOH, if you need such feature, it shouln't be too challenging to write > a MDA replacement, that decides about duplicity and finally passes the > remaining messages to the Dovecot MDA. >This happens because the person replying uses either the reply, or the reply-to-all button in his MUA. The MUA should honour the headers of the message it replies to, and most of the time MUAs do that. People who want replies on their messages sent back only to the list, and not to a personal address, should set the reply-to header of their message to the list address: From: me at example.com To: list at example.org Reply-to: list at example.org This should always make a reply going only to list at example.org, whether the person replying uses reply, reply-all or reply-to-list. This can be done by hand, or with a mailclient plugins that does this for all messages that are recognized as mailing list messages. Unfortunately I did not find such a plugin for thunderbird yet... NB I just set the headers in this message per my example above, for you to test. If you hit any reply* button to react on to this message, a decent MUA should not include my personal address as a recipient of your message. -- Regards, Tom
On Wed, Jun 8, 2011 at 5:04 PM, Xin LI <delphij at delphij.net> wrote:> -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA256 > > Hi, > > A feature of Cyrus-IMAPd I really missed after migrated to Dovecot is > their optional "duplicate suppression", which eliminates duplicate > message at deliver time, if their envelope sender, recipient and > message-id matches. For example, if one subscribes to a mailing list, > and someone hit "Reply All" to reply to him, there will be two different > SMTP deliveries, one from the replier's server and one from the mailing > list. > > Is it possible to do the same on latest Dovecot? (Looking at the > documentation it seems not?) Or is there some better ways to implement > the same functionality? > > Thanks in advance! > > Cheers, > - -- > Xin LI <delphij at delphij.net> http://www.delphij.net/ > FreeBSD - The Power to Serve! Live free or die > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v2.0.17 (FreeBSD) > > iQEcBAEBCAAGBQJN79XjAAoJEATO+BI/yjfBCO0IAMLNZ9Rkargb6bQqILAcbobt > 2ZFb6cO8f4vJu/BPO7Dq3TZoIEmfR+/pbruwgV+FSslTL+5TjkB5Rd5Yb+HYgvZT > Qdbk8Jshgq1XBj2MvbLQugHKhNcN37oDI9eGCDPttYe/C4Jb2hh1W+RtqGpfS6ud > jXUTUzS4yr7HWRRYcyDMvL4HuG/VnKEuFYmX2T/mT8oHfz5FckIPM+k+0prbgMSx > IGTdkKpSMnqYnyUjxQklSmMJ5iJMM7Lr6FMS2c6ORKwG8rD0w1GKrU77saHqJJLQ > YJqqIwJcr5753US6Q1Rk4gK+/L4JmJ+2BUXDdNMYBIfPOFjH9nOLlE5HIfSskBg> =fo5J > -----END PGP SIGNATURE----- >Hello Mr. Xin Li, would you try the OpenDedup File System? (http://www.opendedup.org) If your problem is (only) the message size, this will works like a charm to you. BTW, this is a great project to use with any maildir compatible server... it reduces a LOT of disk usage space... Best regards. -- Use c?pia oculta (BCC ou CCO) e apague dados pessoais no campo da mensagem ao encaminhar qualquer e-mail. http://allan.cassaro.googlepages.com