Hello List,
i have a simple and maybe stupid question but, read the guide on http://wiki2.dovecot.org/Migration/Dsync now i wonder where to put this configuration ? May i oversee something but i would appreciate any hint toward solving my problem.
regards, dominik
At 6:14 PM +0100 12/11/14, Dominik Breu wrote:
i have a simple and maybe stupid question but, read the guide on http://wiki2.dovecot.org/Migration/Dsync now i wonder where to put this configuration ? May i oversee something but i would appreciate any hint toward solving my problem.
Hi Dominik,
I'm not sure, but my guess is that it goes into a new file in '/etc/dovecot/conf.d/', perhaps with a name such as '90-dsync.conf'. I believe that it is also possible to not write this into a file but instead pass each option on the command line using '-o'.
I am trying to figure this out because I want to migrate lots of mail from an old IMAP server to dovecot, and I'd like to preserve the mailbox GUIDs and the message UIDs.
-- Randall Gellens Opinions are personal; facts are suspect; I speak for myself only -------------- Randomly selected tag: --------------- Arithmetic is being able to count up to twenty without taking off your shoes.
I tried putting a config file into /etc/dovecot/conf.d/90-dsync.conf, figuring that dovecot.conf would pick it up with the '!include conf.d/*.conf' line, but it didn't get picked up. I have no idea why.
What is the difference between the two web pages: http://wiki2.dovecot.org/Migration/Dsync which says to run dysnc via doveadm, e.g., 'doveadm -o mail_fsync=never sync -1 -R -u user@domain imapc:', and http://linux.die.net/man/1/dsync, which says to run 'dynch'? The latter shows a dsync option '-F' to disable fast syncing, for example.
Also, is there an option to run dsync in test mode, e.g., to have it show what it thinks needs to be done, without actually doing it? I'm a bit afraid of just running it, since I am not sure that the '-R' option means that the mail gets moved from the remote IMAP server to the dovecot server.
Finally, is there a way to have dsync prompt for a user password? I need to do per-user migration (no master account on the remote system) and prefer not to type plain text passwords on command lines nor in config files.
Thanks!
At 10:38 AM -0800 12/12/14, Randall Gellens wrote:
At 6:14 PM +0100 12/11/14, Dominik Breu wrote:
i have a simple and maybe stupid question but, read the guide on http://wiki2.dovecot.org/Migration/Dsync now i wonder where to put this configuration ? May i oversee something but i would appreciate any hint toward solving my problem.
Hi Dominik,
I'm not sure, but my guess is that it goes into a new file in '/etc/dovecot/conf.d/', perhaps with a name such as '90-dsync.conf'. I believe that it is also possible to not write this into a file but instead pass each option on the command line using '-o'.
I am trying to figure this out because I want to migrate lots of mail from an old IMAP server to dovecot, and I'd like to preserve the mailbox GUIDs and the message UIDs.
-- Randall Gellens Opinions are personal; facts are suspect; I speak for myself only -------------- Randomly selected tag: --------------- Arithmetic is being able to count up to twenty without taking off your shoes.
-- Randall Gellens Opinions are personal; facts are suspect; I speak for myself only -------------- Randomly selected tag: --------------- Hippogriff: An animal (now extinct) which was half horse and half griffin. The griffin was itself a compound creature, half lion and half eagle. The hippogriff was actually, therefore, only one quarter eagle, which is two dollars and fifty cents in gold. The study of zoology is full of surprises.
participants (2)
-
Dominik Breu
-
Randall Gellens