[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] & sign in email addresses and usernames



--- Randall Clark <wz297@xxxxxxxxxxxxxx> wrote:
> I tried both username and an alias, these are the errors I am getting...
> 
> username:
> Only lowercase letters, digits, (.), (-) and (_) are allowed in user name.
> The first character must be a letter or a digit.
> 
> alias:
> Invalid or conflicting email aliases: test&test2

I was able to get the same error message. I skimmed RFC 822,
  ftp://ftp.isi.edu/in-notes/rfc822.txt

and & -seems- to be permissible. maybe cobalt's being overly restrictive.

you can hack /etc/virtusertable yourself ... there's a bit that says "put
custom additions after here." and then do the makemap hash thing i posted
about earlier today. then restart sendmail.

i poked around the source...
/usr/admserv/cgi-bin/.cobalt/siteUserEmail/siteUserEmail.cgi
     86         if( $alias !~ /^[a-z0-9\.\-\_\@]+$/o ) { $badAlias=1; }

they only allow letters, digits, underscores, dashes and hyphens.

that RE looks kinda weak to me.

Paul

__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com