RoundCube Webmail Forum  

Go Back   RoundCube Webmail Forum > Release Support > Requests

For more information about the ads and why they're here, please see the FAQ
Reply
  #1  
Old 12-31-2006, 12:51 AM
Registered User
 
Join Date: Dec 2006
Posts: 4
Downloads: 0
Uploads: 0
Default Auto Determine Host From E-mail Address

Since we host multiple domains, it would be nice to have an option for the host to automatically determined from the e-mail address so users don't have to type it in. For example, if the username entered is bob@mydomain.com, the host could automatically be set to mail.mydomain.com

Would anyone else find this to be helpful?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2  
Old 02-05-2007, 10:55 PM
Registered User
 
Join Date: Feb 2007
Posts: 10
Downloads: 0
Uploads: 0
Default Re: Auto Determine Host From E-mail Address

Absolutely!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3  
Old 02-05-2007, 11:06 PM
Registered User
 
Join Date: Jun 2006
Posts: 3
Downloads: 0
Uploads: 0
Default Re: Auto Determine Host From E-mail Address

If you ran the webmail from a different server as the mail server, then yes, this would be very useful.

I currently just run a single mail server, and run the webmail on it.

Take a look here. There are several people working on something similar, to grab the domain information form the http address and add it to the user name.

I like my solution the best, of course , where I grab the header information, through it into an array, separated by periods, reverse it, then the array[0] is your tld (com, org, etc), array[1] is your next level of domain, etc.

You can grab this and then put it in the defualt host field, a crude code would be something like this

PHP Code:
$tempDomain array_reverse(explode(".",$_SERVER['HTTP_HOST']));
$rcmail_config['default_host'] = 'ssl://mail' $tempDomain[1'.' $tempDomain[0] . ':993'
That is almost the exact code I use to grab the username_domain
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4  
Old 02-05-2007, 11:12 PM
Registered User
 
Join Date: Feb 2007
Posts: 10
Downloads: 0
Uploads: 0
Default Re: Auto Determine Host From E-mail Address

I'm posting a further question on the other thread you mention.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

For more information about the ads and why they're here, please see the FAQ

All times are GMT. The time now is 07:55 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
Copyright © 2006-2008 RoundCube Webmail Community