Re: Remove "Duplicate" emails (and documentation update)

2018-02-24 Thread @lbutlr
On 2018-02-23 (18:01 MST), @lbutlr wrote: > >>> First, even after expunging a message and running doveadm index -u >>> kremels ?Archive?, subsequent runs still show the same duplicate >>> messages. >> >> I suspect client side caching. > > No, there is no client side involved. I am executing all

Re: Remove "Duplicate" emails (and documentation update)

2018-02-23 Thread @lbutlr
On 2018-02-23 (16:47 MST), Joseph Tam wrote: > > On Fri, 23 Feb 2018, @lbutlr wrote: > >> $ doveadm -f table fetch -u kremels 'hdr.message-id guid uid >> hdr.x-listname' mailbox "Archive" | sort| awk 'cnt[$1]++{if >> (cnt[$1]==2) print prev[$1]; print} {prev[$1]=$0}' |grep -E "[0-9] +$" >> |awk

Re: Remove "Duplicate" emails (and documentation update)

2018-02-23 Thread Joseph Tam
On Fri, 23 Feb 2018, @lbutlr wrote: $ doveadm -f table fetch -u kremels 'hdr.message-id guid uid hdr.x-listname' mailbox "Archive" | sort| awk 'cnt[$1]++{if (cnt[$1]==2) print prev[$1]; print} {prev[$1]=$0}' |grep -E "[0-9] +$" |awk '{print "doveadm expunge -u kremels MAILBOX-GUID "$2" UID "$3}