Michael Richardson wrote:
Due to the way that IETF lists and aliases work, I often get two, three
sometimes four copies of an email. I attach a mh-e view of a thread below.
I really want to just keep the copy that went through the list, because
that's the one that went into the public archive, and replies will work
better on that version.
I might be completely off the bat here, but wouldn’t something like
formail (part of procmail) solve the probem of duplicates instead of
trying to hack a system of perl.
If you need to take account of messageid and listid it might not
help. Although you could run it on a per list basis with a different
cache (i.e. list of message ids) for each list.
Regards,
spaceman