Hello, I would like to host my mails and I would like to retrieve my existing mailbox content from my ISP My ISP =====I don't have root access on the server The server seem to use Dovecot according to the banner. My machine =========I have root access on the server I use Dovecot 2.2.21 I use Maildir I read this page multiple times but it's not clear to me https://wiki2.dovecot.org/Migration/Dsync "Set up configuration for the IMAP server you wish to migrate from" Is it my ISP's server or my server ? In which configuration file should I do this ? The same for this option dsync_features = empty-header-workaroundwhere is it supposed to be configured ? My most important case is quite "simple": the mailboxes (there are 2 or 3) I want to migrate don't exist on my machine, so there is no such problems as merge existing mails. Will this migration use imap and retrieve the content of the mails ? Will it use port 143 or 993 ? I'll use the backup option I have another case which there are mails on both servers. So I would like to keep existing mails on my machine. I'll use the sync -1 option ? Thank you
Use imapsync: https://imapsync.lamiral.info/ On 04/08/2017 12:02 PM, Mik J wrote:> Hello, > > I would like to host my mails and I would like to retrieve my existing mailbox content from my ISP > > My ISP > =====> I don't have root access on the server > The server seem to use Dovecot according to the banner. > > My machine > =========> I have root access on the server > I use Dovecot 2.2.21 > I use Maildir > > > > I read this page multiple times but it's not clear to me > https://wiki2.dovecot.org/Migration/Dsync > > "Set up configuration for the IMAP server you wish to migrate from" > Is it my ISP's server or my server ? > In which configuration file should I do this ? > > The same for this option > dsync_features = empty-header-workaroundwhere is it supposed to be configured ? > > > My most important case is quite "simple": the mailboxes (there are 2 or 3) I want to migrate don't exist on my machine, so there is no such problems as merge existing mails. > Will this migration use imap and retrieve the content of the mails ? Will it use port 143 or 993 ? > I'll use the backup option > > > I have another case which there are mails on both servers. So I would like to keep existing mails on my machine. > I'll use the sync -1 option ? > > Thank you-- Best regards, Adrian Minta
Imapsync is perfectly capable of doing that. You need to have an working account on the dovecot server and the password from both the gmail account and dovecot account. Then use this command: imapsync \ --host1 imap.gmail.com --user1 test at gmail.com --password1 mypasswd \ --host2 new.mailserver.com --user2 test at domain.com --password2 mypasswd Google may also help: https://wiki.zimbra.com/wiki/Guide_to_imapsync https://www.howtoforge.com/how-to-migrate-mailboxes-between-imap-servers-with-imapsync http://www.linuxbrigade.com/migrate-mail-one-server-another-imapsync/ On 04/08/2017 12:11 PM, Adrian Minta wrote:> Use imapsync: https://imapsync.lamiral.info/ > > > On 04/08/2017 12:02 PM, Mik J wrote: >> Hello, >> >> I would like to host my mails and I would like to retrieve my >> existing mailbox content from my ISP >> >> My ISP >> =====>> I don't have root access on the server >> The server seem to use Dovecot according to the banner. >> >> My machine >> =========>> I have root access on the server >> I use Dovecot 2.2.21 >> I use Maildir >> >> >> >> I read this page multiple times but it's not clear to me >> https://wiki2.dovecot.org/Migration/Dsync >> >> "Set up configuration for the IMAP server you wish to migrate from" >> Is it my ISP's server or my server ? >> In which configuration file should I do this ? >> >> The same for this option >> dsync_features = empty-header-workaroundwhere is it supposed to be >> configured ? >> >> >> My most important case is quite "simple": the mailboxes (there are 2 >> or 3) I want to migrate don't exist on my machine, so there is no >> such problems as merge existing mails. >> Will this migration use imap and retrieve the content of the mails ? >> Will it use port 143 or 993 ? >> I'll use the backup option >> >> >> I have another case which there are mails on both servers. So I would >> like to keep existing mails on my machine. >> I'll use the sync -1 option ? >> >> Thank you >-- Best regards, Adrian Minta
impasync doesn't preserve IMAP state if Dovecot is the destination server. You should use dsync instead.> > On April 8, 2017 at 3:11 AM Adrian Minta <adrian.minta at gmail.com> wrote: > > Use imapsync: https://imapsync.lamiral.info/ > > On 04/08/2017 12:02 PM, Mik J wrote: > > > > > > Hello, > > > > I would like to host my mails and I would like to retrieve my existing mailbox content from my ISP > > > > My ISP > > =====> > I don't have root access on the server > > The server seem to use Dovecot according to the banner. > > > > My machine > > =========> > I have root access on the server > > I use Dovecot 2.2.21 > > I use Maildir > > > > I read this page multiple times but it's not clear to me > > https://wiki2.dovecot.org/Migration/Dsync > > > > "Set up configuration for the IMAP server you wish to migrate from" > > Is it my ISP's server or my server ? > > In which configuration file should I do this ? > > > > The same for this option > > dsync_features = empty-header-workaroundwhere is it supposed to be configured ? > > > > My most important case is quite "simple": the mailboxes (there are 2 or 3) I want to migrate don't exist on my machine, so there is no such problems as merge existing mails. > > Will this migration use imap and retrieve the content of the mails ? Will it use port 143 or 993 ? > > I'll use the backup option > > > > I have another case which there are mails on both servers. So I would like to keep existing mails on my machine. > > I'll use the sync -1 option ? > > > > Thank you > > > > > > -- > Best regards, > Adrian Minta >-- kind regards, Michael Slusarz Senior Sales Engineer Phone: +1 (303) 888-1090 Skype: michael.m.slusarz Email: michael.slusarz at open-xchange.com mailto:michael.slusarz at open-xchange.com Twitter: @openexchange http://twitter.com/openexchange - Facebook: OpenXchange https://www.facebook.com/OpenXchange - Web: www.open-xchange.com http://www.open-xchange.com Open-Xchange AG, Rollnerstr. 14, 90408 Nuremberg, District Court Nuremberg HRB 24738 Managing Board: Rafael Laguna de la Vera, Carsten Dirks, Uwe Reumuth Chairman of the Board: Richard Seibt European Office: Open-Xchange GmbH, Olper Huette 5f, D-57462 Olpe, Germany, District Court Siegen, HRB 8718 Managing Directors: Frank Hoberg, Martin Kauss US Office: Open-Xchange. Inc., 530 Lytton Avenue, Palo Alto, CA 94301, USA Confidentiality Warning: This message and any attachments are intended only for the use of the intended recipient(s), are confidential, and may be privileged. If you are not the intended recipient, you are hereby notified that any review, retransmission, conversion to hard copy, copying, circulation or other use of this message and any attachments is strictly prohibited. If you are not the intended recipient, please notify the sender immediately by return e-mail, and delete this message and any attachments from your system. -------------- next part -------------- A non-text attachment was scrubbed... Name: image1.png Type: image/png Size: 6064 bytes Desc: not available URL: <http://dovecot.org/pipermail/dovecot/attachments/20170410/00764fa2/attachment.png>