centos6 - Merging two dovecot Maildirs -


i setup mail server using zpanel (with dovecot , maildir format) domain , created user email account user@my-domain.com here.

here emails stored in following tree in server under /var/zpanel/vmail/ path

my-domain.com   |--> cur/   |  ------   |--> new/   |  ------   |--> tmp/     ------ 

i have user email old server (in same format above). email server domain my-domain.com hosted before.

problem is, have few emails on new server user , want merge both show email sent new email server , old one.

is there way, can merge these 2 maildirs?

sorry, figured out how can it. answering question here useful others well.

we can using simple filesystem merge directories after need make sure give appropriate permission files vmail user (user might specific zpanel).

this worked me . under /var/zpanel/vmail/my-domain.com/cur/:

$ sudo chown vmail:mail * 

same need /new , /tmp directories.


Comments

Popular posts from this blog

linux - xterm copying to CLIPBOARD using copy-selection causes automatic updating of CLIPBOARD upon mouse selection -

c++ - qgraphicsview horizontal scrolling always has a vertical delta -