Apologies, Becki not adam - one of those days!  I misread the email address 
'admin' there :) 

You could script imapsync to achieve this if you have all the logins, i.e.:-

imapsync --timeout=2 --host1 1.2.3.4 --user1 $userid --password1 '$passwd' 
--host2 5.6.7.8 --user2 $userid --password2 '$passwd' 

if you do happen to use the export feature be sure to call an index on the 
dovecot side.

Kind regards

James Greig

-----Original Message-----
From: DBmail <[email protected]> On Behalf Of James Greig
Sent: 07 April 2020 14:04
To: '[email protected]' <[email protected]>; '[email protected]' 
<[email protected]>
Subject: Re: [Dbmail] tools for migration to dovecot

Hi Adam,

The main issue in my instance was that the output file for inbox expected in 
dovecot 2.2 with maildir++ and mbox is 'inbox' with sub folders prefixed with a 
dot whereas in 2.3 it's '.INBOX'.  so a fairly straightforward change could fix 
that.

Imapsync is also a fair method really because the dbmail-export method won't 
retain inbox flags such as 'marked as read' which customers/users are likely to 
notice

Kind regards

James Greig

-----Original Message-----
From: DBmail <[email protected]> On Behalf Of Admin Beckspaced
Sent: 07 April 2020 13:24
To: [email protected]
Subject: [Dbmail] tools for migration to dovecot

Dear dbmail users,

recently James Greig wrote about a patch he did for dbmail-export to export the 
mailboxes into maildir++ format mbox's along with a subscriptions file for 
dovecot 2.2.

https://github.com/pjstevns/dbmail/pull/43/commits/4a0909a02b220f3e16fbc66efa03d7554ecde3a5?diff=split&w=1

Sadly my server already runs dovecot version 2.3 so the patch won't work.

Are there any migration tools to export the mailboxes from dbmail to dovecot 
2.3.x

Do you have any recommendations?

thanks & greetings
Becki

_______________________________________________
DBmail mailing list
[email protected]
https://lists.nfg.nl/cgi-bin/mailman/listinfo/dbmail
_______________________________________________
DBmail mailing list
[email protected]
https://lists.nfg.nl/cgi-bin/mailman/listinfo/dbmail
_______________________________________________
DBmail mailing list
[email protected]
https://lists.nfg.nl/cgi-bin/mailman/listinfo/dbmail

Reply via email to