doveadm deduplicate commands

Kevin Laurie superinterstellar at gmail.com
Fri Feb 13 15:59:58 UTC 2015


Dear Jiri,

I tried the following to try to get the inbox deduplicated. My inbox is
quite large and urgently need to remove the duplicated messages.
Is there an easy way to do this?
Sorry for being so presistant but I need help.

The command I tried:-

 doveadm deduplicate -u user at domain.net mailbox inbox

On Fri, Feb 13, 2015 at 11:40 PM, Kevin Laurie <superinterstellar at gmail.com>
wrote:

> Dear Jiri
> Noted.
> Thanks
>
>
> On Fri, Feb 13, 2015 at 11:15 PM, Jiri Bourek <bourek at thinline.cz> wrote:
>
>> On 13.2.2015 15:54, Kevin Laurie wrote:
>>
>>> Hello,
>>> I just migrated my emails from gmail using getmail.
>>> In the process I got some emails that have been doubled or tripled
>>> How do I run the doveadm command to delete copies of same emails?
>>>
>>> I tried running the following:-
>>> doveadm deduplicate -u user at domain.net inbox
>>>
>>> but I get error:-
>>> doveadm(root): Fatal: Unknown argument INBOX
>>>
>>> Could someone share some way to automatically remove duplicated messages?
>>>
>>> Thanks
>>> Kevin
>>>
>>>
>> See documentation - man doveadm-deduplicate and man doveadm-search-query
>> should be enough. I'm guessing you're missing "MAILBOX" in the command.
>>
>> Also when using deduplicate on my servers, it usually doesn't remove
>> every duplicate on first run and needs to be executed repeatedly. Not sure
>> if it's Debian version's (2.2.13) bug or an upstream one. YMMV
>>
>
>


More information about the dovecot mailing list