R: Error creating mailboxex with an "&" inside

Toschi Pietro Pietro.Toschi at actalis.it
Tue Feb 5 08:30:22 EST 2008


Unfortunately I am using imapsync to migrate messages between already created top-level mailboxex, but it doesn't seem to take care of those details for me and failed to create every subfolder with special character until I applied the Kolab patch that modified GOODCHAR macro in mailboxes.c.

Apparently, the Kolab patch doesn't apply to top level mailboxes, INBOX. And creating user/this&that at something.com still fails with cyradm or other applications.

pietro




-----Messaggio originale-----
Da: Jorey Bump [mailto:list at joreybump.com] 
Inviato: martedì 5 febbraio 2008 14.10
A: Toschi Pietro
Cc: info-cyrus at lists.andrew.cmu.edu
Oggetto: Re: Error creating mailboxex with an "&" inside

Toschi Pietro wrote, at 02/05/2008 06:57 AM:

> Apparently, cyrus-imapd does not support mailboxes with some letters 
> inside the name. "&" is one of that. I have some mailboxes containing 
> that symbol to be migrated from another server (SUN) but I always get an 
> error.
> 
> Looking at the IMAP RFC it seems very complex to me to understand what 
> characters are supported and how by the protocol. I wander if there is a 
> way to make cyrus accept such mailboxes, for example using some sort of 
> escape sequences, encoding rules or so.
> 
> Do someone have a solution to this annoying problem?

In Thunderbird, I can create a new folder named:

  this&that

This results in a directory on the server named:

  this&-that

What tool are you using to migrate your mailboxes? Hopefully, something 
like imapsync will take care of these details for you.


More information about the Info-cyrus mailing list