I feel that I should qualify this a little bit more. Yes, the following
are valid mailbox name characters (as stated below):
" +,-.0123456789:=@ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz~"
However, if you are sharing a mailbox and set it up for external delivery
(i.e. anyone+post ability) and sendmail is your SMTP server, I find that
capital letters and spaces are no longer permitted. So the list becomes:
"+,-.0123456789:=@_abcdefghijklmnopqrstuvwxyz~"
I haven't tried many of the others to see what happens. Keep in mind that
this is sendmail's fault and not Cyrus! What happens is that all uppercase
characters get folded into lowercase and all spaces get converted to periods
before the message gets passed onto "deliver" or "lmtpd" for final delivery.
Consequently, the mailbox is usually not found and the message arrives in
your INBOX instead.
I tried tracing this in sendmail, thinking that it was one of the rules in
sendmail.cf that might be doing this. What I found was that when it left
one rule (maybe the 6th rule? can't remember), the mailbox name was fine,
with all the spaces and caps intact. However, *before* it got into the
next rule, the name had changed, with everything in lowercase and spaces
replaced by periods. I was amazed that it was done between sendmail rules
and I can only guess it must be occuring in the source of sendmail itself.
Has anyone else seen this behavior? Are there any work arounds? I can
live without the uppercase characters, but I use spaces a lot in my mailbox
names.
Scott
--On Thursday, June 14, 2001 10:41 AM -0700 David Fuchs
<[EMAIL PROTECTED]> wrote:
> cyrus-imapd-2.0.12 - imap/mboxname.c - line #187:
>
> I believe this is what you're looking for...
>
># define GOODCHARS "
> +,-.0123456789:=@ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz~"
>
> -David Fuchs
>
>
>
> Barbara Greenwood wrote:
>
>> Hi,
>>
>> Does anyone know which characters, other than alphanumeric, are legal in
>> mailbox names with Cyrus v2.0.12 & later?
>>
>>
>>
>> Thanks,
>> Barbara
>> --
>> Barbara Greenwood
>> Senior Developer
>> World Online UK, a Tiscali Company
>> Email: [EMAIL PROTECTED]
>>
>
>
--
+-=-=-=-=-=-=-=-=-=+=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=+=-=-=-=-=-=-=-=-+
Scott W. Adkins http://www.cns.ohiou.edu/~sadkins/
UNIX Systems Engineer mailto:[EMAIL PROTECTED]
ICQ 7626282 Work (740)593-9478 Fax (740)593-1944
+-=-=-=-=-=-=-=-=-=+=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=+=-=-=-=-=-=-=-=-+
CNS, HDL Center, Suite 301, Ohio University, Athens, OH 45701-2979