Justin Coleman
2020-Jul-30 16:29 UTC
Migrating from qmail server, invalid option "o" in dsync
Hi folks, I have an old server running qmail with several years of mails in maildir format I want to migrate to a new server, without requiring fresh client download of everything. Old server is debian 6(?). Local IP is 192.168.0.1. New server is Debian 10, local IP is 192.168.0.25. I have dovecot 2.3.4.1 (latest from apt stable) installed and apparently working - if I manually copy the home directory for my account, I can connect (using thunderbird) and I get all the emails appearing as new, forcing redownload. Seems like the new config is at least functional. I'm trying to follow the migration guide at https://wiki2.dovecot.org/Migration/Dsync, but I am getting an error message: root at newserver:~# doveadm backup -R -u _user_ -o pop3c_user=_user_ -o pop3c_password=_password_ backup: invalid option -- 'o' doveadm backup [-u <user>|-A] [-S <socket_path>] [-fPRU] [-l <secs>] [-r <rawlog path>] [-m <mailbox>] [-g <mailbox_guid>] [-n <namespace> | -N] [-x <exclude>] [-s <state>] [-t <start date>] -d|<dest> Have tried this a couple different ways and according to everything i can find -o should be valid. Can anyone tell me what I'm doing wrong here? Thanks! # 2.3.4.1 (f79e8e7e4): /etc/dovecot/dovecot.conf # Pigeonhole version 0.5.4 () # OS: Linux 4.19.0-9-amd64 x86_64 Debian 10.4 # Hostname: newserver.domain.com disable_plaintext_auth = no mail_location = maildir:~/Maildir mail_privileged_group = mail namespace { hidden = yes list = no location = pop3c: prefix = POP3-MIGRATION-NS/ } namespace inbox { inbox = yes location mailbox Drafts { special_use = \Drafts } mailbox Junk { special_use = \Junk } mailbox Sent { special_use = \Sent } mailbox "Sent Messages" { special_use = \Sent } mailbox Trash { special_use = \Trash } prefix } passdb { driver = pam } plugin { pop3_migration_mailbox = POP3-MIGRATION-NS/INBOX } pop3_uidl_format = %f pop3c_host = 192.168.0.1 protocols = " imap pop3" ssl = no ssl_cert = </etc/dovecot/private/dovecot.pem ssl_client_ca_dir = /etc/ssl/certs ssl_dh = # hidden, use -P to show it ssl_key = # hidden, use -P to show it userdb { driver = passwd } protocol doveadm { mail_plugins = " pop3_migration" } -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://dovecot.org/pipermail/dovecot/attachments/20200730/851bda81/attachment.html>
> On 30/07/2020 19:29 Justin Coleman <jmcoleman at gmail.com> wrote: > > > Hi folks, > I have an old server running qmail with several years of mails in maildir format I want to migrate to a new server, without requiring fresh client download of everything. > > Old server is debian 6(?). Local IP is 192.168.0.1. > New server is Debian 10, local IP is 192.168.0.25. > > I have dovecot 2.3.4.1 (latest from apt stable) installed and apparently working - if I manually copy the home directory for my account, I can connect (using thunderbird) and I get all the emails appearing as new, forcing redownload. Seems like the new config is at least functional. > > I'm trying to follow the migration guide at?https://wiki2.dovecot.org/Migration/Dsync, but I am getting an error message: > root at newserver:~# doveadm backup -R -u _user_ -o pop3c_user=_user_ -o pop3c_password=_password_ > backup: invalid option -- 'o' > doveadm backup [-u <user>|-A] [-S <socket_path>] [-fPRU] [-l <secs>] [-r <rawlog path>] [-m <mailbox>] [-g <mailbox_guid>] [-n <namespace> | -N] [-x <exclude>] [-s <state>] [-t <start date>] -d|<dest> >doveadm -o pop3c_user=_user_ -o pop3c_password=_password_ backup -R -u _user_ pop3c: Aki
Sami Ketola
2020-Jul-30 16:52 UTC
Migrating from qmail server, invalid option "o" in dsync
> On 30. Jul 2020, at 19.33, Aki Tuomi <aki.tuomi at open-xchange.com> wrote: > >> >> On 30/07/2020 19:29 Justin Coleman <jmcoleman at gmail.com> wrote: >> >> >> Hi folks, >> I have an old server running qmail with several years of mails in maildir format I want to migrate to a new server, without requiring fresh client download of everything. >> >> Old server is debian 6(?). Local IP is 192.168.0.1. >> New server is Debian 10, local IP is 192.168.0.25. >> >> I have dovecot 2.3.4.1 (latest from apt stable) installed and apparently working - if I manually copy the home directory for my account, I can connect (using thunderbird) and I get all the emails appearing as new, forcing redownload. Seems like the new config is at least functional. >> >> I'm trying to follow the migration guide at https://wiki2.dovecot.org/Migration/Dsync, but I am getting an error message: >> root at newserver:~# doveadm backup -R -u _user_ -o pop3c_user=_user_ -o pop3c_password=_password_ >> backup: invalid option -- 'o' >> doveadm backup [-u <user>|-A] [-S <socket_path>] [-fPRU] [-l <secs>] [-r <rawlog path>] [-m <mailbox>] [-g <mailbox_guid>] [-n <namespace> | -N] [-x <exclude>] [-s <state>] [-t <start date>] -d|<dest> >> > > doveadm -o pop3c_user=_user_ -o pop3c_password=_password_ backup -R -u _user_ pop3c:Also I suggest to migrate over imap, not pop3. With pop3 migration you can't save the imap uid:s and all clients will see the mails as new. Sami -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://dovecot.org/pipermail/dovecot/attachments/20200730/b013853f/attachment-0001.html>
Apparently Analagous Threads
- Migrating from qmail server, invalid option "o" in dsync
- Migrating from qmail server, invalid option "o" in dsync
- Migrating from qmail server, invalid option "o" in dsync
- courier to dovecot migration
- migration from IMAP/POP3 courier server to a remote dovecot server