[Dovecot] Merge mails from two mail_locations

Timo Sirainen tss at iki.fi
Thu Mar 29 01:52:38 EEST 2012


On 27.3.2012, at 13.11, Patrick Westenberg wrote:

> recently I had some trouble with my ocfs2 cluster and it unmounted
> itself from /var/mail.
> 
> Unfortunately I received mails while my mailstore was unmounted and some mails are stored in /var/mail on the hosts local harddisk.
> 
> Now I need to merge/move these locally stored mails to my ocfs2 mailstore but I don't know how to do this.

You can use "doveadm import" to copy mails from one location to another.




More information about the dovecot mailing list