Replies embedded below.
Hartmut W Sager - Tel +1-204-339-8331
On Tue, 31 Mar 2020 at 01:06, Trevor Cordes trevor@tecnopolis.ca wrote:
On 2020-03-31 Hartmut W Sager wrote:
If I tell mailman to send me a copy too, then I'll always get 2 copies.
Except if you're using Gmail as your infrastructure (like I am). Gmail only posts the message once when it recognizes the unique Message-ID as duplicated, even if the multiple messages come into "To" and/or "cc" via different target e-mail addresses (which is often my case).
I hate to make Gmail look good, especially when I started this "bash Gmail" thread, but hey, they do a few things right. (Like labels!)
Good one Hartmut! :-) However, the key to the dedupe is your MUA would have to eliminate the one that addresses you personally, and keep the one from the mailing list. I doubt gmail is *that* smart, or configurable (as some people would prefer to get the personal one instead!).
You're right, Gmail is definitely not *that* smart, and is not at all configurable in any way even approaching such a wish.
I bet what gmail is doing is just throwing away the 2nd one it sees (temporally), which in many cases (like my greylisted system) is going to be random.
Probably. And here's worse: Sometimes, when I've posted to our RoundTable, Gmail doesn't even bring anything into my Inbox, because those round-trip items match the sent item in my Sent label. Furthermore, it doesn't replace the sent item with one of the incoming round-trip items either, so I can't see the full header (of at least one round-trip item) to see the routing and the SPF/DKIM/DMARC results (which was highly relevant earlier on in this very thread).
But... you did give me an idea... I could procmail something up that will look at (hopefully id'able) mailing list emails (whether private or mailman-sent), delay sending the first it sees (will procmail happily let a handler script sleep?), see if there's a second, then pick the one that is mailman-generated over the personal one (and deliver the 1st/only one if a 2nd never comes in a reasonable amount of time). Voila.
Great idea! A good exercise for an eager student.
Try a procmail rule with gmail! ;-)
Ha ha!