Usernames without alpha characters

Simon Matter simon.matter at ch.sauter-bc.com
Tue Sep 14 06:34:42 EDT 2004


> * Tore Anderson
>
>  >   Hi.  I've run into problems with usernames like "123" or "1_1".
>  >  What seems to be the common thing is that that none of them
>  > contains alphabetic characters.  Cyradm creates them just fine
>  > (although they for some reason is created under the "q" directory
>  > when using a hashed spool), and lmtpd delivers to them just fine.
>  >
>  >   However, logging into those accounts with POP3 or IMAP fails in
>  >  mysterious ways.
>
>   After some more digging, I found the following in lib/auth_unix.c,
>  function auth_canonifyid():
>
>     if (!sawalpha) return NULL;  /* has to be one alpha char */
>
>   Certainly looks like the "bug" isn't there by mistake.  :-)  It is
>  tempting to simply comment out that check. On the other hand, I assume
>  there's a reason for that check to be there.
>
>   But what that reason is I don't know.  Could anyone enlighten me?

I have no idea why this restriction exists but there is a patch somewhere
to make all numeric mailboxes possible.

Simon


---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html




More information about the Info-cyrus mailing list