Restore causing client emails to download duplicates

Every time I do a full system restore it causes the mail client (Thunderbird) to download all the email from the server again, causing duplicates, triplicates, etc and increasing the clients mail box size exponentially.

Is there a setting on Dovcot to prevent this, as I’ve checked the client software settings and I can’t find any thing to correct this.


Do you know where the Dovecot index files are being stored on your system?

One way to determine that is by running this command:

grep mail_location /etc/dovecot/dovecot.conf

Hi again Andy, Thanks for your help.

I tried the command via Putty but nothing happens.

What Linux distribution is it that you’re using?

And what does this command show:

find /etc/dovecot | xargs grep mail_location

[root@www ~]# find /etc/dovecot | xargs grep mail_location
/etc/dovecot/conf.d/10-mail.conf:# path given in the mail_location setting.
/etc/dovecot/conf.d/10-mail.conf:# mail_location = maildir:~/Maildir
/etc/dovecot/conf.d/10-mail.conf:# mail_location = mbox:~/mail:INBOX=/var/mail/%u
/etc/dovecot/conf.d/10-mail.conf:# mail_location = mbox:/var/mail/%d/%1n/%n:INDEX=/var/indexes/%d/%1n/%n
/etc/dovecot/conf.d/10-mail.conf:#mail_location =
/etc/dovecot/conf.d/10-mail.conf:mail_location = maildir:~/Maildir:INDEX=/var/lib/dovecot-virtualmin/index/%u:CONTROL=/var/lib/dovecot-virtualmin/control/%u
/etc/dovecot/conf.d/10-mail.conf:# explicitly, ie. mail_location does nothing unless you have a namespace
/etc/dovecot/conf.d/10-mail.conf: # mail_location, which is also the default for it.