cvt_xlist_specialuse does not work with subfolders
Michael Menge
michael.menge at zdv.uni-tuebingen.de
Mon Aug 13 09:53:06 EDT 2018
Hi,
We are testing the migration from Cyrus 2.4.20 to 3.0.7
and have discovered a problem with cvt_xlist_specialuse
(migration of the xlist-* options to specialuse annotations).
Below are the important options from the imapd.conf of the current backends
altnamespace: 1
unixhierarchysep: 1
xlist-sent: Mail.sent
xlist-trash: Mail.trash
xlist-drafts: Mail.drafts
xlist-junk: Mail.v-spam
xlist-spam: Mail.v-spam
specialusealways: 1
--- default ----
virtdomains: off
cvt_xlist_specialuse did only output
will set \drafts for folders named Mail.drafts
will set \sent for folders named Mail.sent
will set \trash for folders named Mail.trash
will set \junk for folders named Mail.s-spam
will set \spam for folders named Mail.v-spam
but was not able to find any mailboxes to update the annotation.
First we suspected that with the changed default setting for unixhierarchysep
the format of xlist- Options might have changed to unixhierarchysep as well.
But setting
xlist-sent: Mail/sent
xlist-trash: Mail/trash
xlist-drafts: Mail/drafts
xlist-junk: Mail/v-spam
xlist-spam: Mail/v-spam
did only change the output of cvt_xlist_specialuse to
will set \drafts for folders named Mail/drafts
will set \sent for folders named Mail/sent
will set \trash for folders named Mail/trash
will set \junk for folders named Mail/s-spam
will set \spam for folders named Mail/v-spam
but it still didn't find any mailboxes to update the annotations.
After changing the xlist- option to a direct folder of the INBOX e.g. Mail
cvt_xlist_specialuse was able to find the folder and set the annotation.
Is there a way to set the specialuse annotations with cyradm or perl script?
Regards
Michael Menge
--------------------------------------------------------------------------------
M.Menge Tel.: (49) 7071/29-70316
Universität Tübingen Fax.: (49) 7071/29-5912
Zentrum für Datenverarbeitung mail:
michael.menge at zdv.uni-tuebingen.de
Wächterstraße 76
72074 Tübingen
More information about the Cyrus-devel
mailing list