Ok, sorry, some bug on my side.
Now, when doing the sync for all users, I get this every time:
dsync[30214]: segfault at 0 ip 00007f02990349eb sp 00007fff56c2cc80 error 4 in libdovecot-storage.so.0.0.0[7f0299001000+d3000]
Any idea ?
On Mon, 3 Jan 2011 00:13:20 -0200, Henrique Fernandes wrote:
Can you email the output of
# dovecont -n
and
# dsync -D ( rest of your comand )
Rememer, first dsync does not need to edit anyconf on dovecot!
[]'sf.rique
On Thu, Dec 30, 2010 at 2:34 PM, Joan Moreau wrote:
Actually, the directory created by dsync contains correctly all the folders of the original IMAP account.
but they are empty ! (just one file "dovecot.index.log" )
What do I do wrong ?
Thanks again
On
Fri, 24 Dec 2010 17:57:35 -0600, Stan Hoeppner wrote:
Joan Moreau put forth on 12/24/2010 5:41 PM:
1 - plan to have all the new emails in a different folder (say "/data/mail2" ) 2 - make a script that go through all users & domains 3 - for each user (and therefore dbox
folder), run "dsync -o mail_location=sdbox:/data/mail/%d/%n mirror
mdbox:/data/mail2/%d/%n" (where %d and %n are updated correctly for each
user) 4 - move /data/mail to /data/mailold and move /data/mail2 /data/mail
You don't have to move the mail "back".
5 - update dovecot.conf with "mail_location = mdbox:/data/mail/%d/%n" Simply change the mail location to the new directory in dovecot.conf. After you've confirmed all the users' mail is safely in the new location you can delete all the old mail folders/structure.
Links:
[1] mailto:jom@grosjo.net