5 Dec
2019
5 Dec
'19
12:18 p.m.
Hi,
Do we have expunge command by UID. I have some duplicate messages (same Message-ID but different UID) to be deleted.
doveadm search gives me folder GUID and file UID, I want to use this specific information to delete/expunge.
E.g. Following command deletes all duplicates, but I want to keep just one.
doveadm expunge -u user1 mailbox INBOX HEADER Message-ID '5de82b2d.6VWfTzsd/fEAxfV7%cytx@iitk.ac.in'
The following does not help
doveadm deduplicate -u user1 mailbox INBOX
-- Sincerely, Soumitri Mishra