Allowing pre-defined input to be passed to the login form

Rando Christensen rando at bluehost.com
Wed Feb 15 17:53:43 CET 2006


Hi, I'm the mail administrator for bluehost.com. We've been recently  
looking around at webmail clients and stumbled on roundcube and we're  
totally impressed. We'd love to deploy roundcube for all of our  
50,000 customers to be able to use, but there's a little bit holding  
us up:

We'd like to be able to pass in pre-defined values to the login form;  
before we send them the link to roundcube, we already know their  
username and server fields. I'd like to be able to just pass those in  
via the URL, for example: http://mailsite/cube? 
_user=user at domain.org&_host=mail.domain.org

I've edited the code so that it does this, but I was wondering if it  
would be possible for this to be integrated into roundcube. My proof  
of concept code is here: http://digiwano.org/rc.patch .

One alternate solution I've been tossing around in my head is the  
possibility that the servername be automatically generated by looking  
at the email address. All domains that we host use the name  
mail.mydomain.com (where mydomain.com is the same as the domain in  
user at mydomain.com) for their mailservers. I haven't yet written a  
proof of concept for that.

--
Rando Christensen
Mail Admin / Developer
<rando at bluehost.com>






More information about the Dev mailing list