Matt Bryant
2018-May-13 10:01 UTC
dsync migration from maildir layout=fs to maildir seperator / - folders or inbox but not both
Am attempting to bring my mailserver back to home server post house move and whilst I could use rsync have been trying to get to grips with dsync. However, I seem to have an issue - my current server specifies mail_location as maildir:/var/vmail/%d/%n/Maildir:LAYOUT=fs and my imapc config on new server is as follows ... imapc_host = old.mailserver.host imapc_user = %u imapc_master_user = master imapc_password = ********** imapc_features = $imapc_features rfc822.size fetch-headers imapc_list_prefix = INBOX imapc_port = 993 imapc_ssl = imaps imapc_ssl_verify = no the trouble is if I leave imapc_list_prefix = INBOX I get the inbox only - no folders ... If I comment this out delete maildir on target and re-run .. I get the folders but no inbox but folders are in fs layout format rather than being converted to INBOX.folder.subfolder bug perhaps ???? or am I doing something wrong ??? src dovecot version 2.0.9 tgt dovecot version 2.2.33.2 Any ideas would be appreciated ... rgds Matt -- <https://www.postbox-inc.com/?utm_source=email&utm_medium=siglink&utm_campaign=reach> -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://dovecot.org/pipermail/dovecot/attachments/20180513/15952605/attachment.html>
Matt Bryant
2018-May-13 11:07 UTC
dsync migration from maildir layout=fs to maildir seperator / - folders or inbox but not both
Sigh ... ok so had if statement in SQL land that appended LAYOUT=fs if Maildir which explains the non-converting folder layout but NOT why the process is not picking up the actual contents of INBOX ... Matt> Matt Bryant <mailto:matt at the-bryants.net> > 13 May 2018 at 8:01 pm > Am attempting to bring my mailserver back to home server post house > move and whilst I could use rsync have been trying to get to grips > with dsync. > > However, I seem to have an issue - my current server specifies > mail_location as > > maildir:/var/vmail/%d/%n/Maildir:LAYOUT=fs > > and my imapc config on new server is as follows ... > > imapc_host = old.mailserver.host > imapc_user = %u > imapc_master_user = master > imapc_password = ********** > imapc_features = $imapc_features rfc822.size fetch-headers > imapc_list_prefix = INBOX > imapc_port = 993 > imapc_ssl = imaps > imapc_ssl_verify = no > > the trouble is if I leave > > imapc_list_prefix = INBOX > > I get the inbox only - no folders ... If I comment this out delete > maildir on target and re-run .. I get the folders but no inbox but > folders are in fs layout format rather than being converted to > INBOX.folder.subfolder > > bug perhaps ???? or am I doing something wrong ??? > > src dovecot version 2.0.9 > tgt dovecot version 2.2.33.2 > > Any ideas would be appreciated ... > > rgds > > Matt-- <https://www.postbox-inc.com/?utm_source=email&utm_medium=siglink&utm_campaign=reach> -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://dovecot.org/pipermail/dovecot/attachments/20180513/2a70b782/attachment.html>
Sami Ketola
2018-May-13 11:11 UTC
dsync migration from maildir layout=fs to maildir seperator / - folders or inbox but not both
> On 13 May 2018, at 14.07, Matt Bryant <matt at the-bryants.net> wrote: > > Sigh ... ok so had if statement in SQL land that appended LAYOUT=fs if Maildir which explains the non-converting folder layout but NOT why the process is not picking up the actual contents of INBOX ... >Try setting imapc_prefix=INBOX instead of imapc_list_prefix. Sami
Apparently Analagous Threads
- dsync migration from maildir layout=fs to maildir seperator / - folders or inbox but not both
- dsync migration from maildir layout=fs to maildir seperator / - folders or inbox but not both
- Dovecot migration via dsync : mail_location problem (INBOX) ?
- 2.2.33.2 - Virtual Mailbox Issue bug maybe ?
- dovecot nightly 20130117: dsync does returns "Name or service not known"