imap mailbox name

Ken Murchison ken at oceana.com
Thu Jul 3 22:08:06 EDT 2003



Rob Siemborski wrote:
> On Thu, 3 Jul 2003, [iso-8859-1] Brasseur Valéry wrote:
> 
> 
>>what are the valid char in an mailbox name ?
>>
>>I was think that it was mutf-7 , but it seems that cyrus refuse de create a
>>user.abc.foo#bar mailbox name !!!
>>
>>should I escape something ?
>>
>>is there invalid char for Cyrus ?
> 
> 
> Yeah, the mailbox names are limited to characters in the GOODCHARS define
> in mboxname.c (plus & for mUTF-7 encoding).
> 
> Offhand I can't come up with a good reason for # to be disallowed other
> than someone was being paranoid when they wrote it.


Maybe its because some servers (eg, UW IMAP) use it as part of namespace 
prefixes.

-- 
Kenneth Murchison     Oceana Matrix Ltd.
Software Engineer     21 Princeton Place
716-662-8973 x26      Orchard Park, NY 14127
--PGP Public Key--    http://www.oceana.com/~ken/ksm.pgp





More information about the Info-cyrus mailing list