Hello guys,
first of all, congrats for RoundCube. Very nice Webmail. Now my question: that may seem stupid at first but that's a real question ;-) Something's missing according to me: users can't change their email accounts' passwords. For my email server configuration, and because that's my server, I just need to run one SQL query to change the password (I'm talking about the IMAP or POP account, not the RoundCube profile account). That'd be nice to have a section in the configuration file that tells to RoundCube how to update the password if applicable (SQL query / executable). Something like: $rcmail_config['update_password'] = "UPDATE database.table SET password = sha1('__password__') WHERE email = '__email__'"; If this section is set, well, RoundCube would display a "change password" field in the "my profile" page.
But that'd be worth it if and only if other users agree with that idea. What do you think?
Thanks,
Axel
On 31 May 2007, at 16:21, Webmaster Vidax.net wrote:
Something's missing according to me: users can't change their email
accounts' passwords. [...] What do you think?
Changing passwords is an server-specific function; passwords may be
stored in LDAP, /etc/passwd, MySQL, userdb, or any one of a million
other places.
There's a bug for this feature (closed as 'wontfix') at http://trac.roundcube.net/trac.cgi/ticket/1484135
Cheers, Craig -- Craig Webster | Lead Developer | skype: craigwebster Xeriom Networks | t: 0131 208 3800 | w: http://xeriom.net/
-- Virtual machines, dedicated servers and colocation --
Xeriom Networks Limited. 94/1 Spring Gardens, Abbeyhill, Edinburgh, Scotland. Registered in England and Wales. Company No. 5961686.
All agreements are made under our standard terms and conditions. These can be found at http://xeriom.net/terms_and_conditions
Webmaster Vidax.net a écrit :
Hello guys,
first of all, congrats for RoundCube. Very nice Webmail. Now my question: that may seem stupid at first but that's a real question ;-) Something's missing according to me: users can't change their email accounts' passwords. For my email server configuration, and because that's my server, I just need to run one SQL query to change the password (I'm talking about the IMAP or POP account, not the RoundCube profile account). That'd be nice to have a section in the configuration file that tells to RoundCube how to update the password if applicable (SQL query / executable). Something like: $rcmail_config['update_password'] = "UPDATE database.table SET password = sha1('__password__') WHERE email = '__email__'"; If this section is set, well, RoundCube would display a "change password" field in the "my profile" page.
But that'd be worth it if and only if other users agree with that idea. What do you think?
Hi man, I've developped a patch to do this : http://blog.julienwadin.be/index.php/2007/05/26/72-modification-du-password-... It's written in French, but all the filesnames are mentionned with changes you've to make in each of them
You'll have to customize program/steps/settings/passwd.inc with the right SQL Query
Hope this helps
Julien Wadin wrote:
Webmaster Vidax.net a écrit :
Hello guys,
first of all, congrats for RoundCube. Very nice Webmail. Now my question: that may seem stupid at first but that's a real question ;-) Something's missing according to me: users can't change their email accounts' passwords. For my email server configuration, and because that's my server, I just need to run one SQL query to change the password (I'm talking about the IMAP or POP account, not the RoundCube profile account). That'd be nice to have a section in the configuration file that tells to RoundCube how to update the password if applicable (SQL query / executable). Something like: $rcmail_config['update_password'] = "UPDATE database.table SET password = sha1('__password__') WHERE email = '__email__'"; If this section is set, well, RoundCube would display a "change password" field in the "my profile" page.
But that'd be worth it if and only if other users agree with that idea. What do you think?
Hi man, I've developped a patch to do this : http://blog.julienwadin.be/index.php/2007/05/26/72-modification-du-password-...
It's written in French, but all the filesnames are mentionned with changes you've to make in each of them
You'll have to customize program/steps/settings/passwd.inc with the right SQL Query
Hope this helps
it'd be very useful to include one patch file for this, add the english translation, cobfigure through roundcube main config file and if not include in the upstream than at least include the patchfile into some kind of contrib folder.
On 5/31/07, Farkas Levente lfarkas@bppiac.hu wrote:
Julien Wadin wrote:
Webmaster Vidax.net a écrit :
Hello guys,
first of all, congrats for RoundCube. Very nice Webmail. Now my question: that may seem stupid at first but that's a real question ;-) Something's missing according to me: users can't change their email accounts' passwords. For my email server configuration, and because that's my server, I just need to run one SQL query to change the password (I'm talking about the IMAP or POP account, not the RoundCube profile account). That'd be nice to have a section in the configuration file that tells to RoundCube how to update the password if applicable (SQL query / executable). Something like: $rcmail_config['update_password'] = "UPDATE database.table SET password = sha1('__password__') WHERE email = '__email__'"; If this section is set, well, RoundCube would display a "change password" field in the "my profile" page.
But that'd be worth it if and only if other users agree with that idea. What do you think?
Hi man, I've developped a patch to do this : http://blog.julienwadin.be/index.php/2007/05/26/72-modification-du-password-...
It's written in French, but all the filesnames are mentionned with changes you've to make in each of them
You'll have to customize program/steps/settings/passwd.inc with the right SQL Query
Hope this helps
it'd be very useful to include one patch file for this, add the english translation, cobfigure through roundcube main config file and if not include in the upstream than at least include the patchfile into some kind of contrib folder.
Maybe a repository for those kind of things wouldn't hurt, but I wouldn't clutter the distribution.
Also, imo your patch assumes too much to be "generic" - not every mailserver is SQL based or has an SQL api.
But I totally agree the feature is important - the need for a plugin API is getting bigger and bigger. ;-)
Cheers, Till
till a écrit :
Maybe a repository for those kind of things wouldn't hurt, but I wouldn't clutter the distribution.
Also, imo your patch assumes too much to be "generic" - not every mailserver is SQL based or has an SQL api.
If you don't have an SQL api, just change the code in password.inc tu use your provider's api :-)
But I totally agree the feature is important - the need for a plugin API is getting bigger and bigger. ;-)
Yes, and _documentation_ about it !
On 5/31/07, Julien Wadin julien@wadin.be wrote:
till a écrit :
Maybe a repository for those kind of things wouldn't hurt, but I wouldn't clutter the distribution.
Also, imo your patch assumes too much to be "generic" - not every mailserver is SQL based or has an SQL api.
If you don't have an SQL api, just change the code in password.inc tu use your provider's api :-)
I call this the "hack and run" approach.
But I totally agree the feature is important - the need for a plugin API is getting bigger and bigger. ;-)
Yes, and _documentation_ about it !
Check the Roundcube trac/wiki for our proposal. I am currently working on it. Let me know your thoughts!
Till