• multiple copies of the same email

    From Helmut Richter@hr.usenet@email.de to comp.mail.pine on Tue Jun 17 13:10:44 2025
    From Newsgroup: comp.mail.pine

    It happens very often that I have multiple copies of the same email in the
    same folder. The most frequent reason is that one copy ist sent directly to
    me and another one (or more) by forward from other recipients. Another reason can be that the email has manually been saved in a folder more than once
    (then all other copies should be in "deleted" state but sometimes deleted emails are ressurected for various reasons).

    Whatever the reason, Iod like to know a simple way to discover that several emails in the same folder have the same Msg-Id, and then to delete all but
    one of them, preferably keeping the shortest one (= the one with the fewest forwards). I do not want the deletion to be fully automatic because there are situations where I want to see which copies have reached me.

    My current solution is to search for the "Return-Path"-Header that
    appears most often in duplicated emails. This covers many cases but is
    a bit clumsy.

    --
    Helmut Richter
    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From Carlos E.R.@robin_listas@es.invalid to comp.mail.pine on Tue Jun 17 19:09:18 2025
    From Newsgroup: comp.mail.pine

    On 2025-06-17 13:10, Helmut Richter wrote:
    It happens very often that I have multiple copies of the same email in the same folder. The most frequent reason is that one copy ist sent directly to me and another one (or more) by forward from other recipients. Another reason can be that the email has manually been saved in a folder more than once (then all other copies should be in "deleted" state but sometimes deleted emails are ressurected for various reasons).

    Whatever the reason, IrCOd like to know a simple way to discover that several emails in the same folder have the same Msg-Id, and then to delete all but one of them, preferably keeping the shortest one (= the one with the fewest forwards). I do not want the deletion to be fully automatic because there are situations where I want to see which copies have reached me.

    My current solution is to search for the "Return-Path"-Header that
    appears most often in duplicated emails. This covers many cases but is
    a bit clumsy.

    Not in Alpine but Thunderbird has an addon that finds duplicate emails.
    --
    Cheers, Carlos.
    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From LC's No-Spam Newsreading account@nospam@home.invalid to comp.mail.pine on Tue Jun 24 23:11:19 2025
    From Newsgroup: comp.mail.pine

    On Tue, 17 Jun 2025, Helmut Richter wrote:

    Whatever the reason, Iod like to know a simple way to discover that several emails in the same folder have the same Msg-Id,

    Simple but clumsy (you have to know the Message-ID: of each message ando
    do it manually ... maybe it helps if you preliminary sort the folder by subject (command $ O)

    Then read part of the Message-ID: string ... e.g. 9116073

    Then search with commands ; T H Message-ID: 9116073

    ; = search
    T = by text
    H = by header kwd
    Message-ID: is the kwd name
    9116073 or whatever is the partial stering to be matched
    --- Synchronet 3.21d-Linux NewsLink 1.2