-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Wednesday, 2023-07-05 at 08:39 -0000, Robert Webb via openSUSE Users wrote:
On Tue, 4 Jul 2023 11:40:20 +0200, "Carlos E. R." <robin.listas@telefonica.net> wrote:
On 2023-07-04 11:21, Masaru Nomiya wrote:
[...] Duplicate mails should be determined by the unique Message-ID for each mail.
Not exclusively.
For example, when people reply both to the list and to the person, you get two copies of the same mail, slightly different. Same message-id, different received headers, possibly a different footer and reply to.
An interesting case, that is. If you receive a reply directly to your email address, then it is a personal message to you. But if later, you receive the same message via the list, then they are both a public message. It is like quantum physics. The nature of one is determined by the observation of the other one at some possibly widely separated time and place. Have fun trying to set up a proper filter for that.
I do :-)
My procmail recipe moves one of those to a different folder for direct duped replies.
:0 * ^(it is for this account) { LOG="Logging: section for telefonica-listas (alias) $NL" :0f * ^List-Id: <security.lists.opensuse.org> | $FORMAIL -bfi 'Reply-To: "oS-sec" <opensuse-security@opensuse.org>' :0 a: $HOME/Mail/_Lists/os-security :0f * ^List-Id: <kde.lists.opensuse.org> | $FORMAIL -bfi 'Reply-To: "oS-kde" <kde@lists.opensuse.org>' :0 a: $HOME/Mail/_Lists/os-kde :0f * ^List-Id: <kde3.lists.opensuse.org> | $FORMAIL -bfi 'Reply-To: "oS-kde3" <kde3@lists.opensuse.org>' :0 a: $HOME/Mail/_Lists/os-kde ... :0f * ^List-Id: <users.lists.opensuse.org> | $FORMAIL -bfi 'Reply-To: "OS-en" <users@lists.opensuse.org>' :0 a: $HOME/Mail/_Lists/os-en ... # ··········· Remove dups (sent both to list and direct) :0 : * ^TO_((suse-linux-s|suse-linux-e|suse-security|suse-programming-e)@suse.com|(opensuse-support|opensuse-offtopic|opensuse-es|opensuse-programming|opensuse-project|opensuse-security|opensuse-translation|opensuse-translation-es|opensuse-factory|opensuse)@opensuse.org|evergreen@lists.rosenauer.org|(susefaq-spanish|xine-devel|smartmontools-support)@lists.sourceforge.net|alpine-(alpha|info)@u.washington.edu|sflphone@lists.savoirfairelinux.net|linux-uvc-devel@lists.sourceforge.net|packman@links2linux.de|xfs@oss.sgi.com|linux-xfs@vger.kernel.org|offtopic@sweet-haven.com|postfix-users@postfix.org|shotwell-list@gnome.org|lazarus@lists.lazarus-ide.org|dm-crypt@saout.de|ffmpeg-user.ffmpeg.org) $HOME/Mail/_Lists/in_dups # Catch all para el alias robin.listas@telefonica.net :0 : $HOME/Mail/_Lists/in_rst_3 } #VERBOSE=off #----- End ALIAS robin.listas -------------------------------- This concoction puts the your email to the list in $HOME/Mail/_Lists/os-en, but your direct email to $HOME/Mail/_Lists/in_dups, as desired :-) - -- Cheers, Carlos E. R. (from openSUSE 15.4 x86_64 at Telcontar) -----BEGIN PGP SIGNATURE----- iHoEARECADoWIQQZEb51mJKK1KpcU/W1MxgcbY1H1QUCZKVbgRwccm9iaW4ubGlz dGFzQHRlbGVmb25pY2EubmV0AAoJELUzGBxtjUfVvQ8An1hG5UnfBVzgU4SEztG5 WjvV733FAJ9YL3LkmtTjMizno1oL2givWU1umA== =d4vQ -----END PGP SIGNATURE-----