Hello, At Online Demo : http://demo.roundcube.net/ Only User name required (roundcube_demo) not the host name with username (roundcube_demo@roundcube.net ). But when I installed the script into my host I need to input username with host.
From where I can select username name only login option and set my hostname
as default.
Thanks
Nur Sarowar wrote:
Hello, At Online Demo : http://demo.roundcube.net/ Only User name required (roundcube_demo) not the host name with username ( roundcube_demo@roundcube.net mailto:roundcube_demo@roundcube.net). But when I installed the script into my host I need to input username with host.
From where I can select username name only login option and set my hostname as default.
Thanks
that's a mail-server setting, not a roundcube setting. are you on a virtual host of some sort? if your imap server requires your full email address, there's nothing you can do about it. --david
I guess there must be way to set host part into script setting so that user only have to put username only. Trying to make things easier for user.
On 11/2/05, david l goodrich dlg@dorkzilla.org wrote:
Nur Sarowar wrote:
Hello, At Online Demo : http://demo.roundcube.net/ Only User name required (roundcube_demo) not the host name with username ( roundcube_demo@roundcube.net mailto:roundcube_demo@roundcube.net). But when I installed the script into my host I need to input username with host.
From where I can select username name only login option and set my hostname as default.
Thanks
that's a mail-server setting, not a roundcube setting. are you on a virtual host of some sort? if your imap server requires your full email address, there's nothing you can do about it. --david
In most cases, RoundCube is configured with a default host (which points to the IMAP server) and this will make the input box for 'host' disappear from the login page. Then your user can log in with his e-mail address as user name and the password. I guess that's what users expect to do.
You can also set an 'alias' to the user record in the RoundCube database. This alias will be used to resolve the entered user name.
I don't think that there should be changed anything.
Regards, Thomas
Nur Sarowar wrote:
I guess there must be way to set host part into script setting so that user only have to put username only. Trying to make things easier for user.
On 11/2/05, * david l goodrich* <dlg@dorkzillaorg mailto:dlg@dorkzilla.org> wrote:
Nur Sarowar wrote: > Hello, > At Online Demo : http://demo.roundcube.net/ Only User name required > (roundcube_demo) not the host name with username ( > roundcube_demo@roundcube.net <mailto:roundcube_demo@roundcube.net> <mailto:roundcube_demo@roundcube.net <mailto:roundcube_demo@roundcube.net>>). But > when I installed the script into my host I need to input username with > host. > > From where I can select username name only login option and set my > hostname as default. > > Thanks that's a mail-server setting, not a roundcube setting. are you on a virtual host of some sort? if your imap server requires your full email address, there's nothing you can do about it. --david
I would like to see one of several options re: this issue:
appended to the entered username, thereby forming a userid of username@domain, or
a domain which is then appended to the entered username to form the login userid, or
S
S. William Schulz wrote:
I would like to see one of several options re: this issue:
- Be able to set a default domain in the config file which would be
appended to the entered username, thereby forming a userid of username@domain, or
What's wrong with entering the whole e-mail address? This is what people are used to do when logging into a webmail system.
- Have something similar to the SM plugin which maps the URLhost to
a domain which is then appended to the entered username to form the login userid, or
When the plugin-API is ready, you can do whatever you want. This would also let you pass the user authorization to another system or service.
- Take some part of the URL and append it to the username to form the userid.
-> Plugins
S
Thomas
Nur,
I had the same issue you have. I did not wish to enter my full email address into the login each time. Some of our hosted domain names are quite lengthy.
If you are using the latest version of RoundCube, you may try the fix that I did for the SMTP User.... here is the changed code in the /config/main.inc.php:
// SMTP username (if required) if you use %u as the username RoundCube // will use the current username for login $rcmail_config['smtp_user'] = '%u' . '@' . '' . str_replace("www.", "", $_SERVER['HTTP_HOST']); //note that the above variable setting should be on one line
Now, what it does. Well it finds the "www.domain.com" from your browser for where your roundcube installation is at. It then takes off the www. portion. It then adds an "@" symbol to it making it "@domain.com". Then it adds the username that you provide on the login screen.
So, if you go to "http://www.domain.com/roundcube/" it comes up with "@domain.com". And then when you type in "user" as your username, it processes "user@domain.com" in the login.
Hope this makes some sense, or helps in some way. Let me know.
Kevin L.
Nur Sarowar wrote:
I guess there must be way to set host part into script setting so that user only have to put username only. Trying to make things easier for user.
On 11/2/05, * david l goodrich* <dlg@dorkzillaorg mailto:dlg@dorkzilla.org> wrote:
Nur Sarowar wrote: > Hello, > At Online Demo : http://demo.roundcube.net/ Only User name required > (roundcube_demo) not the host name with username ( > roundcube_demo@roundcube.net <mailto:roundcube_demo@roundcube.net> <mailto:roundcube_demo@roundcube.net <mailto:roundcube_demo@roundcube.net>>). But > when I installed the script into my host I need to input username with > host. > > From where I can select username name only login option and set my > hostname as default. > > Thanks that's a mail-server setting, not a roundcube setting. are you on a virtual host of some sort? if your imap server requires your full email address, there's nothing you can do about it. --david
On 11/2/05, Thomas Bruederli roundcube@gmail.com wrote:
S. William Schulz wrote:
I would like to see one of several options re: this issue:
- Be able to set a default domain in the config file which would be
appended to the entered username, thereby forming a userid of username@domain, or
What's wrong with entering the whole e-mail address? This is what people are used to do when logging into a webmail system.
There is nothing wrong with it, just as there is nothing wrong with writing letters by hand with pen and paper. However, most people, where possible, prefer to use the most rapid means possible to achieve a task (certain night-time activities excepted).
In this case, the domain in question is, unfortunately and due to the choice of the powers that be, much longer than convenient which means that users are entering 20+ characters when logging in. They would prefer their 6-8 character username, and there's no great reason that they should not have that option.
Once a plugin architecture is available, I'd be more than happy to add it that way if necessary.
S
I have done this for my company. (Has *greatly* reduced the normal level of "I can't get to my email" calls from the cogs in our corporate machine.)
Its not a space in the config file, but is a quick hack.
Open up index.php in the main installation directory.
FIND: $host = $_POST['_host'] ? $_POST['_host'] : $CONFIG['default_host'];
AFTER, ADD: //**NON CVS CHANGE** $username = $_POST['_user'] . '@domain.com http://domain.com'; //append domain to admin to allow username-online login //**END NON CVS CHANGE**
FIND: else if (isset($_POST['_user']) && isset($_POST['_pass']) && rcmail_login($_POST['_user'], $_POST['_pass'], $host))
CHANGE TO: else if (isset($_POST['_user']) && isset($_POST['_pass']) && rcmail_login($username, $_POST['_pass'], $host))
In this quick hack, we're adding the domain of your choice to the username. Where you see "@domain.com http://domain.com" change that to whatever email domain should be appended.
-Geuis
On 11/2/05, Thomas Bruederli roundcube@gmail.com wrote:
S. William Schulz wrote:
I would like to see one of several options re: this issue:
- Be able to set a default domain in the config file which would be
appended to the entered username, thereby forming a userid of username@domain, or
What's wrong with entering the whole e-mail address? This is what people are used to do when logging into a webmail system.
- Have something similar to the SM plugin which maps the URLhost to
a domain which is then appended to the entered username to form the login userid, or
When the plugin-API is ready, you can do whatever you want. This would also let you pass the user authorization to another system or service.
- Take some part of the URL and append it to the username to form the
userid.
-> Plugins
S
Thomas
Kevin, I like your fix but I think mine is slightly better in this narrow situation. Imagine your URL for the roundcube installation is different than the email accounts being accessed? It can be better to just specify the domain(s) being used to access.
--Geuis
On 11/2/05, Geuis Teses geuis.teses@gmail.com wrote:
I have done this for my company. (Has *greatly* reduced the normal level of "I can't get to my email" calls from the cogs in our corporate machine)
Its not a space in the config file, but is a quick hack.
Open up index.php in the main installation directory.
FIND: $host = $_POST['_host'] ? $_POST['_host'] : $CONFIG['default_host'];
AFTER, ADD: //**NON CVS CHANGE** $username = $_POST['_user'] . '@domain.com http://domain.com'; //append domain to admin to allow username-online login //**END NON CVS CHANGE**
FIND: else if (isset($_POST['_user']) && isset($_POST['_pass']) && rcmail_login($_POST['_user'], $_POST['_pass'], $host))
CHANGE TO: else if (isset($_POST['_user']) && isset($_POST['_pass']) && rcmail_login($username, $_POST['_pass'], $host))
In this quick hack, we're adding the domain of your choice to the username. Where you see "@domain.com http://domain.com" change that to whatever email domain should be appended.
-Geuis
On 11/2/05, Thomas Bruederli roundcube@gmail.com wrote:
S. William Schulz wrote:
I would like to see one of several options re: this issue:
- Be able to set a default domain in the config file which would be
appended to the entered username, thereby forming a userid of username@domain, or
What's wrong with entering the whole e-mail address? This is what people are used to do when logging into a webmail system.
- Have something similar to the SM plugin which maps the URLhost to
a domain which is then appended to the entered username to form the login userid, or
When the plugin-API is ready, you can do whatever you want. This would also let you pass the user authorization to another system or
service.
- Take some part of the URL and append it to the username to form the
userid.
-> Plugins
S
Thomas
Geuis,
Just curious, why would you not just simply alter the main.inc.php file like so:
$rcmail_config['smtp_user'] = '%u' . '@domain.com';
If you wished to "hardcode" a particular domain name to the system? Sorry, I may not be understanding the fullness of your hack.
Kevin L.
Geuis Teses wrote:
Kevin, I like your fix but I think mine is slightly better in this narrow situation. Imagine your URL for the roundcube installation is different than the email accounts being accessed? It can be better to just specify the domain(s) being used to access.
--Geuis
On 11/2/05, *Geuis Teses* <geuis.teses@gmail.com mailto:geuis.teses@gmail.com> wrote:
I have done this for my company. (Has *greatly* reduced the normal level of "I can't get to my email" calls from the cogs in our corporate machine.) Its not a space in the config file, but is a quick hack. Open up index.php in the main installation directory. FIND: $host = $_POST['_host'] ? $_POST['_host'] : $CONFIG['default_host']; AFTER, ADD: //**NON CVS CHANGE** $username = $_POST['_user'] . '@domain.com <http://domain.com>'; //append domain to admin to allow username-online login //**END NON CVS CHANGE** FIND: else if (isset($_POST['_user']) && isset($_POST['_pass']) && rcmail_login($_POST['_user'], $_POST['_pass'], $host)) CHANGE TO: else if (isset($_POST['_user']) && isset($_POST['_pass']) && rcmail_login($username, $_POST['_pass'], $host)) In this quick hack, we're adding the domain of your choice to the username. Where you see "@domain.com <http://domain.com>" change that to whatever email domain should be appended. -Geuis On 11/2/05, *Thomas Bruederli* <roundcube@gmail.com <mailto:roundcube@gmail.com>> wrote: S. William Schulz wrote: > I would like to see one of several options re: this issue: > > 1) Be able to set a default domain in the config file which would be > appended to the entered username, thereby forming a userid of > username@domain, or What's wrong with entering the whole e-mail address? This is what people are used to do when logging into a webmail system. > > 2) Have something similar to the SM plugin which maps the URLhost to > a domain which is then appended to the entered username to form the > login userid, or When the plugin-API is ready, you can do whatever you want. This would also let you pass the user authorization to another system or service. > > 3) Take some part of the URL and append it to the username to form the userid. -> Plugins > > S > Thomas