Re: duplicates due to X-TUID headers

2024-03-15 Thread Peter P.
* Bence Ferdinandy [2024-03-15 08:41]: > 2024. márc. 15. 8:16:53 Evgeniy Berdnikov : > > > On Fri, Mar 15, 2024 at 07:42:32AM +0100, Peter P. wrote: > > > Do you have any recommendataion how I could de-duplicate messages with > > > missing message-ids? > > > > You have better to remove them all.

Re: duplicates due to X-TUID headers

2024-03-15 Thread Bence Ferdinandy
2024. márc. 15. 8:16:53 Evgeniy Berdnikov : On Fri, Mar 15, 2024 at 07:42:32AM +0100, Peter P. wrote: Do you have any recommendataion how I could de-duplicate messages with missing message-ids? You have better to remove them all. for f in /path/to/mailbox/* ; do if [ ! grep -is '^Messag

Re: duplicates due to X-TUID headers

2024-03-15 Thread Evgeniy Berdnikov
On Fri, Mar 15, 2024 at 07:42:32AM +0100, Peter P. wrote: > Do you have any recommendataion how I could de-duplicate messages with > missing message-ids? You have better to remove them all. for f in /path/to/mailbox/* ; do if [ ! grep -is '^Message-id:' $f ] ; then rm -f $f f