Upon examining my MySQL database for "users", I have discovered some on my users have multiple identities because that have placed an uppercase letter within their email address. My popper defaults to all lower, even if roundcube submits upper.
Is there a way to have roundcube "strtolower" all address entries on the login screen?
Hi Jim,
On 08/09/11 17:48, Jim Pazarena wrote:
Upon examining my MySQL database for "users", I have discovered some on my users have multiple identities because that have placed an uppercase letter within their email address. My popper defaults to all lower, even if roundcube submits upper.
Is there a way to have roundcube "strtolower" all address entries on the login screen?
We use a custom login page which does that among other things, but I think you can write a very simple plugin which uses the authenticate hook (http://trac.roundcube.net/wiki/Plugin_Hooks#authenticate ) to return every user and host values in lowercase.
Regards.
On 2011-09-08 9:34 AM, Jorge López Pérez wrote:
Hi Jim,
On 08/09/11 17:48, Jim Pazarena wrote:
Upon examining my MySQL database for "users", I have discovered some on my users have multiple identities because that have placed an uppercase letter within their email address. My popper defaults to all lower, even if roundcube submits upper.
Is there a way to have roundcube "strtolower" all address entries on the login screen?
We use a custom login page which does that among other things, but I think you can write a very simple plugin which uses the authenticate hook (http://trac.roundcube.net/wiki/Plugin_Hooks#authenticate ) to return every user and host values in lowercase.
Regards.
I was hoping more to hear that a flag can be set in the config file "force logins to lowercase"
Can anyone suggest the appropriate spot to add this function within the source? Not creating a variable, but merely to force to strtolower in the appropriate code location?
Thanks!
On 08.09.2011 19:23, Jim Pazarena wrote:
I was hoping more to hear that a flag can be set in the config file "force logins to lowercase"
There's one, just read the .dist config file.
On Thu, 08 Sep 2011 10:23:08 -0700, Jim Pazarena wrote:
Can anyone suggest the appropriate spot to add this function within the source? Not creating a variable, but merely to force to strtolower in the appropriate code location?
http://trac.roundcube.net/browser/trunk/roundcubemail/config/main.inc.php.di...
line 204
On 2011-09-08 4:09 PM, Benny Pedersen wrote:
On Thu, 08 Sep 2011 10:23:08 -0700, Jim Pazarena wrote:
Can anyone suggest the appropriate spot to add this function within the source? Not creating a variable, but merely to force to strtolower in the appropriate code location?
http://trac.roundcube.net/browser/trunk/roundcubemail/config/main.inc.php.di...
line 204
I must have been sleeping with both eyes closed to miss this very obvious config option.
List info: http://lists.roundcube.net/users/ BT/9b404e9e
On 2011-09-08 7:59 PM, Jim Pazarena roundcube@paz.bz wrote:
On 2011-09-08 4:09 PM, Benny Pedersen wrote:
On Thu, 08 Sep 2011 10:23:08 -0700, Jim Pazarena wrote:
Can anyone suggest the appropriate spot to add this function within the source? Not creating a variable, but merely to force to strtolower in the appropriate code location?
http://trac.roundcube.net/browser/trunk/roundcubemail/config/main.inc.php.di...
line 204
I must have been sleeping with both eyes closed to miss this very obvious config option.
Hmmm... when was this added? My main.inc.php file doesn't contain this option...
I'm assuming I could just add it, but I'm curious why it isn't already there?
version is 0.4.2 (yes, I need to update to 0.5.4)...
On 09/09/11 05:36, Charles Marcus wrote:
On 2011-09-08 7:59 PM, Jim Pazarena roundcube@paz.bz wrote:
On 2011-09-08 4:09 PM, Benny Pedersen wrote:
On Thu, 08 Sep 2011 10:23:08 -0700, Jim Pazarena wrote:
Can anyone suggest the appropriate spot to add this function within the source? Not creating a variable, but merely to force to strtolower in the appropriate code location?
http://trac.roundcube.net/browser/trunk/roundcubemail/config/main.inc.php.di...
line 204
I must have been sleeping with both eyes closed to miss this very obvious config option.
Hmmm... when was this added? My main.inc.php file doesn't contain this option...
I'm assuming I could just add it, but I'm curious why it isn't already there?
version is 0.4.2 (yes, I need to update to 0.5.4)...
Checking my archived installs, this option was apparently added in the 0.5.x release. Doesn't exist in the 0.4.x releases. I don't think you'll be able to simply add the config line as I'm certain there are numerous additions to the program files to enable it. 0.4.x won't know to look for that config line, even if you added it.
That all said, if I was still on 0.4.x for production use now, I'd hold off on upgrading until 0.6-stable is released. The addressbook enhancements in 0.6 are great.
-- Arne Berglund System Administrator, Internet Services Lane Education Service District Eugene, OR ____________