Re: Best way to move mail from one server to another

2018-09-04 Thread Aki Tuomi
> On 04 September 2018 at 23:20 Robert Schetterer wrote: > > > Am 04.09.2018 um 18:27 schrieb Sami Ketola: > > > > > >> On 4 Sep 2018, at 18.38, Robert Schetterer wrote: > >> > >> Sorry i migrated terrabytes of mail with imapsync and never had a > >> problem, it works as designed, also

Re: Best way to move mail from one server to another

2018-09-04 Thread Robert Schetterer
Am 04.09.2018 um 18:27 schrieb Sami Ketola: > > >> On 4 Sep 2018, at 18.38, Robert Schetterer wrote: >> >> Sorry i migrated terrabytes of mail with imapsync and never had a >> problem, it works as designed, also with maildir rsync did a good job, >> what never worked as it should was dsync

Re: Best way to move mail from one server to another

2018-09-04 Thread Sami Ketola
> On 4 Sep 2018, at 21.24, Ruben Safir wrote: > > On 9/4/18 12:27 PM, Sami Ketola wrote: >> >> >>> On 4 Sep 2018, at 18.38, Robert Schetterer wrote: >>> >>> Sorry i migrated terrabytes of mail with imapsync and never had a >>> problem, it works as designed, also with maildir rsync did a

Re: Best way to move mail from one server to another

2018-09-04 Thread Ruben Safir
On 9/4/18 12:27 PM, Sami Ketola wrote: > > >> On 4 Sep 2018, at 18.38, Robert Schetterer wrote: >> >> Sorry i migrated terrabytes of mail with imapsync and never had a >> problem, it works as designed, also with maildir rsync did a good job, >> what never worked as it should was dsync ,cause of

Re: Best way to move mail from one server to another

2018-09-04 Thread Sami Ketola
> On 4 Sep 2018, at 19.32, Rick Romero wrote: >> No it does not. This is different thing. This is about managing duplicates >> on multiple syncs. >> Imapsync seems to keep track of UID -> MAIL mapping for server A and UID -> >> MAIL mapping for server B so that on multiple runs it does not

Re: Best way to move mail from one server to another

2018-09-04 Thread Rick Romero
Quoting Sami Ketola : On 4 Sep 2018, at 18.45, Rick Romero wrote: https://imapsync.lamiral.info/FAQ.d/FAQ.Duplicates.txt Seems to use UIDs so that 'data' isn't lost.   No it does not. This is different thing. This is about managing duplicates on multiple syncs.Imapsync seems

Re: Best way to move mail from one server to another

2018-09-04 Thread Sami Ketola
> On 4 Sep 2018, at 18.38, Robert Schetterer wrote: > > Sorry i migrated terrabytes of mail with imapsync and never had a > problem, it works as designed, also with maildir rsync did a good job, > what never worked as it should was dsync ,cause of bugs ,that may > changed now > I would like

Re: Best way to move mail from one server to another

2018-09-04 Thread Michael Slusarz
Sami is correct. imapsync loses data. Source -> imapsync -> destination : the mailboxes are different to an IMAP client Source -> dsync -> destination (running Dovecot w/doveadm): the mailboxes are the same You may not care that your users w/100,000 message mailboxes that have been cached on

Re: Best way to move mail from one server to another

2018-09-04 Thread Sami Ketola
> On 4 Sep 2018, at 18.45, Rick Romero wrote: > https://imapsync.lamiral.info/FAQ.d/FAQ.Duplicates.txt > > Seems to use UIDs so that 'data' isn't lost. > > No it does not. This is different thing. This is about managing duplicates on multiple syncs. Imapsync seems to keep track of UID ->

Re: Best way to move mail from one server to another

2018-09-04 Thread Rick Romero
Quoting Robert Schetterer : Am 04.09.2018 um 17:18 schrieb Sami Ketola: On 4 Sep 2018, at 18.00, Robert Schetterer wrote: Am 04.09.2018 um 16:52 schrieb Sami Ketola: On 4 Sep 2018, at 17.47, Robert Schetterer wrote: Am 04.09.2018 um 09:41 schrieb Sami Ketola: imapsync always loses data

Re: Best way to move mail from one server to another

2018-09-04 Thread Rick Romero
Quoting Robert Schetterer : Am 04.09.2018 um 17:18 schrieb Sami Ketola: On 4 Sep 2018, at 18.00, Robert Schetterer wrote: Am 04.09.2018 um 16:52 schrieb Sami Ketola: On 4 Sep 2018, at 17.47, Robert Schetterer wrote: Am 04.09.2018 um 09:41 schrieb Sami Ketola: imapsync always loses data

Re: Best way to move mail from one server to another

2018-09-04 Thread Robert Schetterer
Am 04.09.2018 um 17:18 schrieb Sami Ketola: > > >> On 4 Sep 2018, at 18.00, Robert Schetterer wrote: >> >> Am 04.09.2018 um 16:52 schrieb Sami Ketola: >>> >>> On 4 Sep 2018, at 17.47, Robert Schetterer wrote: Am 04.09.2018 um 09:41 schrieb Sami Ketola: > imapsync always

Re: Best way to move mail from one server to another

2018-09-04 Thread Sami Ketola
> On 4 Sep 2018, at 18.00, Robert Schetterer wrote: > > Am 04.09.2018 um 16:52 schrieb Sami Ketola: >> >> >>> On 4 Sep 2018, at 17.47, Robert Schetterer wrote: >>> >>> Am 04.09.2018 um 09:41 schrieb Sami Ketola: imapsync always loses data >>> >>> never saw this, be carefull by

Re: Best way to move mail from one server to another

2018-09-04 Thread Robert Schetterer
Am 04.09.2018 um 16:52 schrieb Sami Ketola: > > >> On 4 Sep 2018, at 17.47, Robert Schetterer wrote: >> >> Am 04.09.2018 um 09:41 schrieb Sami Ketola: >>> imapsync always loses data >> >> never saw this, be carefull by anounce such myths > > > It is a fact. Imapsync works over IMAP only and

Re: Best way to move mail from one server to another

2018-09-04 Thread Sami Ketola
> On 4 Sep 2018, at 17.47, Robert Schetterer wrote: > > Am 04.09.2018 um 09:41 schrieb Sami Ketola: >> imapsync always loses data > > never saw this, be carefull by anounce such myths It is a fact. Imapsync works over IMAP only and IMAP protocol does not even support transferring all

Re: Best way to move mail from one server to another

2018-09-04 Thread Robert Schetterer
Am 04.09.2018 um 09:41 schrieb Sami Ketola: > imapsync always loses data never saw this, be carefull by anounce such myths Best Regards MfG Robert Schetterer -- [*] sys4 AG http://sys4.de, +49 (89) 30 90 46 64 Schleißheimer Straße 26/MG, 80333 München Sitz der Gesellschaft: München,

Specifying other mail_attachment_dir for namespace

2018-09-04 Thread Pedro Ribeiro
Hello, I have a Dovecot setup where I need to allow users to access a snapshot of their messages (when they complain about missing messages/folders deleted by mistake). From time to time the system does a LVM snapshot of the volume holding the mailboxes and sis storage and that messages are

Re: Best way to move mail from one server to another

2018-09-04 Thread Jeff Abrahamson
How do you test the new server? (Sorry, this seems like it must be obvious.  The server I set up is the first one handling this domain, so testing was easy in that it didn't have history.) Jeff Abrahamson +33 6 24 40 01 57 +44 7920 594 255 http://p27.eu/jeff/ http://transport-nantes.com/ On

Re: Best way to move mail from one server to another

2018-09-04 Thread Reio Remma
If you have lots of data, you can make an initial pass with rsync whilst the old server is running and another rsync pass (with --delete, use dry run to test) when you've shut down the old server to sync the changes since the initial pass. Good luck! Reio On 04/09/2018 11:40, James Brown

Re: Best way to move mail from one server to another

2018-09-04 Thread James Brown
Thanks Sam Users not using new mail server yet. Both old and new using maildir. Sounds like rsync is the way to go. Thanks for your help. James. Sent from my iPhone XI > On 4 Sep 2018, at 5:41 pm, Sami Ketola wrote: > > > >> On 4 Sep 2018, at 10.20, James Brown wrote: >> >> I’d

Re: Best way to move mail from one server to another

2018-09-04 Thread Sami Ketola
> On 4 Sep 2018, at 10.20, James Brown wrote: > > I’d like to migrate to a new server. I only need to transfer the mail store, > have already done the users. I’ve seen different recommendations: > > IMAP-Sync > Rsync > Doveadmin backup and > dsync > > What are the pros and cons of each?

Re: Best way to move mail from one server to another

2018-09-04 Thread Aki Tuomi
You probably can do this with rsync, if you do not need to convert mail storage format. Safest way would be to stop both servers, do rsync, start both servers. If your users have already written to the new server, you will have to use doveadm sync, otherwise data loss will occur. Aki > On 04

Best way to move mail from one server to another

2018-09-04 Thread James Brown
I’d like to migrate to a new server. I only need to transfer the mail store, have already done the users. I’ve seen different recommendations: IMAP-Sync Rsync Doveadmin backup and dsync What are the pros and cons of each? What would be best for me? I’m thinking that Doveadmin backup is the way