Re: [Dovecot] dsync deleted my mailbox - what did I do wrong?

2014-04-10 Thread Nikolaos Milas
On 8/4/2014 5:20 μμ, Nikolaos Milas wrote: Still no subfolder sync (but individual messages on existing subfolders get sync'ed): Given that I can't make dsync work properly, until this thread provides info that might lead to correct operation, which I hope, I am thinking of trying syncing

Re: [Dovecot] dsync deleted my mailbox - what did I do wrong?

2014-04-08 Thread Teemu Huovila
Hello Many different dsync issues have come up in this thread. Ill try to answer them as best as I can. 1) dsync backup -R The conclusion reached in the thread was correct. Instead of the backup option, doveadm import would be better suited for merging old mails into an existing mailbox. 2)

Re: [Dovecot] dsync deleted my mailbox - what did I do wrong?

2014-04-08 Thread Nikolaos Milas
On 8/4/2014 12:38 μμ, Teemu Huovila wrote: 3) dsync replication / doveadm sync not working as expected. These came in pretty late in the thread and I did not get a full picture of what kind of setups and parameters were used. I suspect these might be a configuration issue. I think trying with

Re: [Dovecot] dsync deleted my mailbox - what did I do wrong?

2014-04-08 Thread Teemu Huovila
On 04/08/2014 03:00 PM, Nikolaos Milas wrote: Neither using replication nor using dsync from CLI leads to subfolders getting replicated, as I have explained. As an example, if a user creates subfolder boxtest e.g. under Inbox on either side, it never gets created on the other side. I cant

Re: [Dovecot] dsync deleted my mailbox - what did I do wrong?

2014-04-08 Thread Nikolaos Milas
On 8/4/2014 4:47 μμ, Teemu Huovila wrote: I cant find any errors, but I might be missing something obvious. I only have a few suggestions for things to check. 1) You listed the config for one host (vmail i assume). Is the configuration similar on the vmail1 side? Especially, can the command

Re: [Dovecot] dsync deleted my mailbox - what did I do wrong?

2014-04-07 Thread Benjamin Podszun
Hey Jiri. Thanks for getting back. On Friday, April 4, 2014 4:48:48 PM CEST, Jiri Bourek wrote: - where did I fail (ignoring the backups, please. That's .. something I know) From the man page: backup - Backup mails from default mail location to location2 (or vice versa, if -R parameter is

Re: [Dovecot] dsync deleted my mailbox - what did I do wrong?

2014-04-07 Thread Jiri Bourek
The last sentence describes what happened to you: all new mail on the new machine is a change and was discarded (by deleting new mail.) If I'm not mistaken, this is correct behaviour for backup mode - you get exact copy of the source side (maildir:/tmp/mail_backup) on destination side

Re: [Dovecot] dsync deleted my mailbox - what did I do wrong?

2014-04-07 Thread Nikolaos Milas
On 7/4/2014 4:01 μμ, Jiri Bourek wrote: I was doing some trial and error testing with doveadm sync (should be the same as dsync mirror.) If used on a mailbox which has seen some changes, this sync's behaviour is just strange. I can confirm (on 2.2.12) that the behavior is the same using

[Dovecot] dsync deleted my mailbox - what did I do wrong?

2014-04-04 Thread Benjamin Podszun
Hi. Mostly annoying: I migrated from one machine to another, made sure the target host worked as expected, updated mx records and - after a couple of days - signed it off as good. This is just my private machine, no big deal if something goes wrong.. Everything's fine? Good, let's migrate

Re: [Dovecot] dsync deleted my mailbox - what did I do wrong?

2014-04-04 Thread Jiri Bourek
Hi - where did I fail (ignoring the backups, please. That's .. something I know) From the man page: backup - Backup mails from default mail location to location2 (or vice versa, if -R parameter is given). No changes are ever done to the source location. Any changes done in destination are