Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

imapsync: Invalid mailbox name when migrating from UW to Cyrus

126 views
Skip to first unread message

Jan Klaverstijn

unread,
Apr 9, 2007, 5:30:45 PM4/9/07
to
Hi all,

My compliments for imapsync. It is definitely a great timesaver. Without it
this migration would be unthinkable.

I posted this to thew imapsync website before I discovered this newsgroup.
So here goes again:

I am migrating from uw imap to Cyrus. I have a folder on UW that contains a
dot in its name. The dot is the folder separator in Cyrus. For some reason
the script implements a sub called separator_invert() that changes the dot
into a forward slash to create the name of the target folder. The target
folder thus gets an illegal name. Eg "Gebr. Bot" becomes "Gebr/ Bot". The
message is "Couldn't create [INBOX.Mijn mappen.Gebr/ Bot]5095 NO Invalid
mailbox name". Can/should this be fixed? I have implemented a workaround in
separator_invert() that first substitutes the dots (or actually the target
separator) in the source name with an underscore. This works fine. I can
provide a patch if you want. I tried to preserve the dot but Cyrus does not
support dots in folder names.

Regards,
Jan


gilles....@laposte.net

unread,
Apr 10, 2007, 6:21:26 AM4/10/07
to
Hello Jan,

> I am migrating from uw imap to Cyrus. I have a folder on UW that contains a
> dot in its name. The dot is the folder separator in Cyrus. For some reason
> the script implements a sub called separator_invert() that changes the dot
> into a forward slash to create the name of the target folder. The target
> folder thus gets an illegal name. Eg "Gebr. Bot" becomes "Gebr/ Bot". The
> message is "Couldn't create [INBOX.Mijn mappen.Gebr/ Bot]5095 NO Invalid
> mailbox name". Can/should this be fixed?

--regextrans2 "s¤/¤_¤g"


Jan Klaverstijn

unread,
Apr 13, 2007, 5:33:19 PM4/13/07
to
Ah yes, of course. That would do the trick. Thanks.

Jan.

<gilles....@laposte.net> schreef in bericht
news:1176200486.2...@y5g2000hsa.googlegroups.com...

0 new messages