On 23-Jan-2010, at 21:52, Caio Chassot wrote:
> - Duplicate emails. They happen for a lot of reasons, nut just bad list 
> operation. Would be great to silently (plugin?) group messages that have 
> identical bodies and basic headers, even when some other (generally 
> non-user-visible) headers differ.


I think this is, at least initially, a perfect plugin idea. If we take my idea 
of making a fast index of the message-ids then it's pretty trivial to create a 
list of all the duplicate message-ids. A plugin could take that basic list and 
run with it, maybe even allowing automated decisions as to which messages to 
keep and which to discard (Keep the message that came to me directly or keep 
the message that came to me obscured through a list, or keep the first message).

Whether we extend this to do some logic on it's own to DETECT duplicate 
messages probably depends on how hard that would be. Make a hash of the message 
body, sans signatures and footers, and check that against the Received chain so 
that the 47 "Out of Office" replied get condensed to one would be nice. Just 
have to be sure those 47 replies are all from the same person and that we don't 
collapse 'duplicate-looking' messages from multiple sources.

-- 
"He raised his hammer defiantly and opened his mouth to say, "Oh, yeah?" but 
stopped, because just by his ear he heard a growl. It was quite low and soft, 
but it had a complex little waveform which went straight down into a little 
knobbly bit in his spinal column where it pressed an ancient button marked 
Primal Terror." --Feet of Clay

_______________________________________________
[email protected] mailing list
List help: http://lists.ranchero.com/listinfo.cgi/email-init-ranchero.com

Reply via email to