imapc_prefix doesnt appear to be a valid option any more ... just gets a config error .. on the otherhand updated the src dovecot to have an explicitly defined named space which does seem to be working ..


the namespace i created was pretty much default ie ..

namespace inbox {
  type = private
  separator = .
  prefix = INBOX.
  location = maildir:/var/vmail/%d/%n/Maildir:LAYOUT=fs
  inbox = yes
  hidden = no
  list = yes
  subscriptions = yes
}

but by doing this folders became INBOX.folder.subfolder instead of /Folder/subfolder so wondering if something in imapc does not like default namespace thats created and cant decide whats inbox/folders ...

rgds

Matt
Sami Ketola
13 May 2018 at 9:11 pm

Try setting imapc_prefix=INBOX instead of imapc_list_prefix.

Sami

Matt Bryant
13 May 2018 at 9:07 pm
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
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

--