RoundCube Webmail Forum  

Go Back   RoundCube Webmail Forum > Third Party Contributions > Old Style Plug-Ins

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

Reply
  #31  
Old 07-10-2009, 10:44 PM
Registered User
 
Join Date: Jan 2009
Posts: 3
Default

Excellent - this is what I was looking for. It doesn't work with the SVN version of roundcube though. Which is not a big deal but it kinda raises the question: Would it be possible to get this plugin to work with the new Plugin API? Kinda like create a new tab in the Personal Settings menu called Password and let the Plugin API handle it?

Just an idea, great work on this, makes the whole application much more useful for us.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #32  
Old 08-26-2009, 11:03 PM
Registered User
 
Join Date: Aug 2009
Posts: 1
Default Two different servers

I have two different servers. A html server hosting roundcubemail, and a mail server. I have the roundcubemail database on the webserver.

How do i change the password inc to access the sql database on the mail server?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #33  
Old 09-28-2009, 01:37 PM
Roundcube Newcomer
 
Join Date: Aug 2009
Location: Near Berlin/Germany
Posts: 5
Default

Quote:
Originally Posted by siodseraph View Post
Would it be possible to get this plugin to work with the new Plugin API? Kinda like create a new tab in the Personal Settings menu called Password and let the Plugin API handle it?

Just an idea, great work on this, makes the whole application much more useful for us.
There is already a qmail plugin for the RC0.3 plugin api which works like described (adding a password tab in prefs). Would be a good idea to extend this.

By the way: There is a qmail web interface for changing a users pw. I'd love to use this so if someone would extend the plugin api i'd really appreciate it :-)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #34  
Old 12-04-2009, 06:16 PM
Registered User
 
Join Date: May 2007
Posts: 15
Default

Changing password using vpopmail can be done through the vpopmaild daemon.

I already made the driver, and it is committed in roundcube, see
http://www.roundcubeforum.net/api-ba...vpopmaild.html
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #35  
Old 12-22-2009, 11:24 PM
Roundcube Newcomer
 
Join Date: Aug 2009
Location: Near Berlin/Germany
Posts: 5
Default Qmail web interface driver for password plugin problems

I don't know which mailer my isp is using but I asked for any support for users to change their passwords and my isp answered the only way would be their qmail web interface.

Thus I'm looking for a driver for the password plugin which simply sends a post with the three 4 needed entries (old pw) to that form and parses the error message or success message.

My ISPs password change form is located at
https://mail.bytecamp.net/cgi-bin/qm...ladmin/passwd/

The form fields are:

address -> e.g. "someone@somedomain.com"
oldpass
newpass1
newpass2

When posting these fields one gets an answer page which should be parsed.

I tried to change the direct admin parser which seemed appropriate for that task but it didn't work. Here comes the changed code (communication class code afterwards not changed):

Code:
function password_save($curpass, $passwd){

    $rcmail = rcmail::get_instance();
    $Socket = new HTTPSocket;

    $da_user    = $_SESSION['username'];
    $da_curpass = $curpass;
    $da_newpass = $passwd;
    $da_host    = $rcmail->config->get('password_directadmin_host');
    $da_port    = $rcmail->config->get('password_directadmin_port');

    $Socket->connect($da_host,$da_port); 
    $Socket->set_method('POST');
    $Socket->query('/cgi-bin/qmailadmin/qmailadmin/passwd/',
        array(
            'address' 	=> $da_user,
            'oldpass' 	=> $da_curpass,
            'newpass1' 	=> $da_newpass,
            'newpass2' 	=> $da_newpass
    ));
    $response = $Socket->fetch_parsed_body();

	//console("DA error response: $response[text] [$da_user]");
    if($Socket->result_status_code <> 200)
        return PASSWORD_CONNECT_ERROR;
    elseif($response['error'] == 1){ //Error description: $response[text] 
        return PASSWORD_ERROR;
    }else 
        return PASSWORD_SUCCESS;

}
I renamed the file to qmail.php and set the needed vars $da_host,$da_port in the config.inc.php within password directory.

Any ideas how I could get this to work? Thanks in advance...

Ingo
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #36  
Old 12-23-2009, 11:44 AM
skaero's Avatar
Super Moderator
 
Join Date: Jun 2006
Location: USA - New Mexico
Posts: 985
Send a message via ICQ to skaero Send a message via AIM to skaero Send a message via MSN to skaero Send a message via Yahoo to skaero
Default

Why not include it in a iframe?
__________________
SKaero.com

Last edited by skaero; 12-23-2009 at 11:46 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #37  
Old 12-24-2009, 11:45 PM
Roundcube Newcomer
 
Join Date: Aug 2009
Location: Near Berlin/Germany
Posts: 5
Default

Hi skaero,

Sorry but I don't get your point. I want to access my webhoster's qmail web interface via roundcube password plugin and just have to send a query via POST or GET and parse the result.

Do you mean I should show my webhosters qmail password change form in an iframe within roundcubemail? This wouldn't look nice and fit the look and feel of my skin.

I just don't know why it doesn't work :-(
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

LinkBacks (?)
LinkBack to this Thread: http://www.roundcubeforum.net/7-third-party-contributions/25-old-style-plug-ins/4286-new-file-added-qmail-mysql-vpopmail-password-change-patch-v1-0-a.html
Posted By For Type Date
wheaties.us || Andy and Natasha Wheatley's Blog This thread Refback 02-22-2009 08:48 AM

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 09:10 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