RoundCube Webmail Forum  

Go Back   RoundCube Webmail Forum > Third Party Contributions > API Based Plugins

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

Reply
  #21  
Old 09-24-2009, 11:16 PM
Registered User
 
Join Date: Feb 2009
Posts: 16
Question Hello :( please help me

YEs i can access it .. i have tried can you send me once again step by step instruction from starting so i can try once again ... please i used simplescript to uplaod roundcube mail script.. this is my mysql server status

* Server: Localhost via UNIX socket
* Server version: 5.0.81-community-log
* Protocol version: 10
* User: comp35_rnd02@localhost
* MySQL charset: UTF-8 Unicode (utf

Web server

* Apache/2.2.13 (Unix) mod_ssl/2.2.13 OpenSSL/0.9.8k DAV/2 mod_auth_passthrough/2.1 FrontPage/5.0.2.2635
* MySQL client version: 5.0.81
* PHP extension: mysqli
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #22  
Old 09-25-2009, 12:54 PM
fms fms is offline
Registered User
 
Join Date: Jun 2009
Location: Gramado/RS - Brasil
Posts: 13
Send a message via MSN to fms
Default

Where are your users? on what database?

Lets say:
1) your mysql-user: comp35_rnd02
2) your mysql-password:3aRqSzgezi
3) your mysql-database: postfix

So, user comp35_rnd02 should have rights to access postfix database from localhost (assuming RoundCube is running on same machine where mysql is)
Code:
#mysql
mysql> GRANT ALL ON postfix.* TO comp35_rnd02@localhost IDENTIFIED BY '3aRqSzgezi'; FLUSH PRIVILEGES;
exit
So, your password-plugin config is something like this:
/usr/local/www/roundcube/config/password/config.inc.php
Code:
$rcmail_config['password_db_dsn'] = 'mysql://comp35_rnd02:3aRqSzgezi@unix(/tmp/mysql.sock)/postfix';
$rcmail_config['password_query'] = "UPDATE `mailbox` SET `password` = %c, modified=now() WHERE `username` = %u LIMIT 1";
__________________
Francisco
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #23  
Old 09-25-2009, 02:44 PM
rosali's Avatar
Super Moderator
 
Join Date: Dec 2007
Location: Germany
Posts: 1,464
Default

@fms: The problem of sumit9451 is, that he is using the imap server of his host. His webspace is controlled by cpanel. I don't think that he has access to postfix database. I'm not familiar with cpanel. I don't know if it is even possible to code a suiteable driver for the current password plugin. MySQL - at least with the credential posted by sumit 9451 - has only access to the RoundCube database.
__________________
Regards,
Rosali

__________________
MyRoundcube Project http://myroundcube.googlecode.com
MyRoundcube Forum http://http://www.roundcubeforum.net...45-myroundcube
MyRoundcube Online Demo http://mail4us.net
MyRoundcube Plugins Generic Installation Guide http://mail4us.net/myroundcube
Mailing List http://mail4us.net/?_action=plugin.nabble
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #24  
Old 09-25-2009, 05:36 PM
fms fms is offline
Registered User
 
Join Date: Jun 2009
Location: Gramado/RS - Brasil
Posts: 13
Send a message via MSN to fms
Default

humm ok Rosali.

In this case, I dont know a solution for him.
__________________
Francisco
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #25  
Old 09-26-2009, 07:24 AM
Registered User
 
Join Date: Feb 2009
Posts: 16
Question HElllo

SO tell me the way ... is this not for cpanel .. what you need just tell me so i can find and tell you.. pzzzzzzzzzzzzzz
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #26  
Old 09-26-2009, 07:39 AM
Registered User
 
Join Date: Feb 2009
Posts: 16
Default HEllo

i have one idea if you support me ... tell me where should i install roundcube manually and i have full control for cpanel...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #27  
Old 09-26-2009, 08:27 AM
Registered User
 
Join Date: Feb 2009
Posts: 16
Question Hello

This is the change password from cpanel .. if this helps your for me then i am really happy please

https://host293.hostmonster.com:2083...ertreasure.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #28  
Old 09-26-2009, 09:27 AM
rosali's Avatar
Super Moderator
 
Join Date: Dec 2007
Location: Germany
Posts: 1,464
Default

You don't understand the structure:

RoundCube is a IMAP server client.
The backend is a IMAP server.
The IMAP server or a backend of the IMAP server administers users and passwords.
Really deep insights to your imap server and the user/password administration are necessary to code a php script to jump into it.
At the moment no skilled php programmer and cpanel user has coded a password change driver ...
__________________
Regards,
Rosali

__________________
MyRoundcube Project http://myroundcube.googlecode.com
MyRoundcube Forum http://http://www.roundcubeforum.net...45-myroundcube
MyRoundcube Online Demo http://mail4us.net
MyRoundcube Plugins Generic Installation Guide http://mail4us.net/myroundcube
Mailing List http://mail4us.net/?_action=plugin.nabble
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #29  
Old 03-03-2010, 03:39 PM
Roundcube Newcomer
 
Join Date: Jan 2010
Posts: 5
Default problem with passwd change plugin

hello,

i use roundcube 0.3.2.30 and have a problem with the Password Plugin. If try to change a Password, there is always the 'internalerror' Message. But if i try out the wrong 'curpasswd' , roundcube detect that it is the wrong psw. and put out the 'passwordincorrect' message.

Seems like Roundcube cant write to the DB.
I use mysql, postfix

There is a error in the log:

Code:
apache2: MDB2 Error: not found (-4): _doQuery: [Error message: Could not execute statement] [Last executed query: SELECT update_passwd('qtr$hjhtdjrtdjrdjrtz345z54rt', 'xxxxxxx@xxxxxx.com')] [Native code: 1305] [Native message: FUNCTION roundcubemail.update_passwd does not exist]

Last edited by yinzhen; 03-05-2010 at 01:16 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #30  
Old 03-05-2010, 01:06 PM
Roundcube Newcomer
 
Join Date: Jan 2010
Posts: 5
Default

Quote:
Originally Posted by yinzhen View Post
hello,

i use roundcube 0.3.2.30 and have a problem with the Password Plugin. If .......
uff. a solution.....
first i discovered that the old changepswd plugin (0.2.1) work. so i copied some lines. but in the end (like first page in this thread) it works with:

PHP Code:
$rcmail_config['password_db_dsn'] = 'mysqli://username:gfd534PASSgdfGGERR53@localhost/vmail'
PHP Code:
$rcmail_config['password_query'] = "UPDATE `mailbox` SET `password` = %c, modified=now() WHERE `username` = %u LIMIT 1"
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



All times are GMT. The time now is 10:15 PM.


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