<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[iRedMail — Configure password change for roundcubemail-0.3.1 [SOLVED]]]></title>
		<link>http://www.iredmail.org/forum/topic942-configure-password-change-for-roundcubemail031-solved.html</link>
		<atom:link href="http://www.iredmail.org/forum/feed-rss-topic942.xml" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Configure password change for roundcubemail-0.3.1 [SOLVED].]]></description>
		<lastBuildDate>Mon, 31 May 2010 12:24:26 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Configure password change for roundcubemail-0.3.1 [SOLVED]]]></title>
			<link>http://www.iredmail.org/forum/post4099.html#p4099</link>
			<description><![CDATA[<p>Same.</p>]]></description>
			<author><![CDATA[null@example.com (ZhangHuangbin)]]></author>
			<pubDate>Mon, 31 May 2010 12:24:26 +0000</pubDate>
			<guid>http://www.iredmail.org/forum/post4099.html#p4099</guid>
		</item>
		<item>
			<title><![CDATA[Re: Configure password change for roundcubemail-0.3.1 [SOLVED]]]></title>
			<link>http://www.iredmail.org/forum/post4098.html#p4098</link>
			<description><![CDATA[<div class="quotebox"><cite>ZhangHuangbin wrote:</cite><blockquote><p>I added &#039;LIMIT 1&#039; in iRedMail moment ago, thanks for your remind.<br />And we use this in plugin:<br /></p><div class="quotebox"><blockquote><p>$rcmail_config[&#039;password_query&#039;] = &#039;UPDATE <span style="color: red">vmail.</span>mailbox SET password=%c,modified=NOW() WHERE username=%u LIMIT 1&#039;;</p></blockquote></div></blockquote></div><p>what is the different of using...... </p><div class="quotebox"><blockquote><p>UPDATE <span style="color: red">vmail.</span>mailbox SET password=%c,modified=NOW() WHERE username=%u LIMIT 1&#039;;</p></blockquote></div><p>???</p>]]></description>
			<author><![CDATA[null@example.com (hata_ph)]]></author>
			<pubDate>Mon, 31 May 2010 11:07:19 +0000</pubDate>
			<guid>http://www.iredmail.org/forum/post4098.html#p4098</guid>
		</item>
		<item>
			<title><![CDATA[Re: Configure password change for roundcubemail-0.3.1 [SOLVED]]]></title>
			<link>http://www.iredmail.org/forum/post4097.html#p4097</link>
			<description><![CDATA[<p>I added &#039;LIMIT 1&#039; in iRedMail moment ago, thanks for your remind.<br />And we use this in plugin:<br /></p><div class="quotebox"><blockquote><p>$rcmail_config[&#039;password_query&#039;] = &#039;UPDATE <span style="color: red">vmail.</span>mailbox SET password=%c,modified=NOW() WHERE username=%u LIMIT 1&#039;;</p></blockquote></div>]]></description>
			<author><![CDATA[null@example.com (ZhangHuangbin)]]></author>
			<pubDate>Mon, 31 May 2010 07:49:00 +0000</pubDate>
			<guid>http://www.iredmail.org/forum/post4097.html#p4097</guid>
		</item>
		<item>
			<title><![CDATA[Re: Configure password change for roundcubemail-0.3.1 [SOLVED]]]></title>
			<link>http://www.iredmail.org/forum/post4096.html#p4096</link>
			<description><![CDATA[<div class="quotebox"><cite>ZhangHuangbin wrote:</cite><blockquote><p>I guess you&#039;re using OpenLDAP backend, right?<br />Reference: <a href="http://iredmail.org/wiki/index.php?title=Upgrade/iRedMail/0.5.1-0.6.0#Roundcube_Webmail">http://iredmail.org/wiki/index.php?titl … be_Webmail</a></p></blockquote></div><p>I am using MySQL as backend and I have found out the way...<br />just update below setting to plugins/password/config.inc.php</p><div class="quotebox"><blockquote><p>// SQL Driver options<br />// ------------------<br />// PEAR database DSN for performing the query. By default<br />// Roundcube DB settings are used.<br />//$rcmail_config[&#039;password_db_dsn&#039;] = &#039;&#039;;<br />$rcmail_config[&#039;password_db_dsn&#039;] = <strong>&#039;mysqli://roundcube:xxx@localhost/vmail&#039;;</strong></p><p>// The SQL query used to change the password.<br />// The query can contain the following macros that will be expanded as follows:<br />//&nbsp; &nbsp; &nbsp; %p is replaced with the plaintext new password<br />//&nbsp; &nbsp; &nbsp; %c is replaced with the crypt version of the new password, MD5 if available<br />//&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;otherwise DES.<br />//&nbsp; &nbsp; &nbsp; %o is replaced with the password before the change<br />//&nbsp; &nbsp; &nbsp; %n is replaced with the hashed version of the new password<br />//&nbsp; &nbsp; &nbsp; %q is replaced with the hashed password before the change<br />//&nbsp; &nbsp; &nbsp; %h is replaced with the imap host (from the session info)<br />//&nbsp; &nbsp; &nbsp; %u is replaced with the username (from the session info)<br />//&nbsp; &nbsp; &nbsp; %l is replaced with the local part of the username<br />//&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;(in case the username is an email address)<br />//&nbsp; &nbsp; &nbsp; %d is replaced with the domain part of the username<br />//&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;(in case the username is an email address)<br />// Escaping of macros is handled by this module.<br />// Default: &quot;SELECT update_passwd(%c, %u)&quot;<br />//$rcmail_config[&#039;password_query&#039;] = &#039;SELECT update_passwd(%c, %u)&#039;;<br />$rcmail_config[&#039;password_query&#039;] = <strong>&#039;UPDATE mailbox SET password=%c,modified=NOW() WHERE username=%u LIMIT 1&#039;;</strong></p></blockquote></div><p><a href="http://www.roundcubeforum.net/7-third-party-contributions/46-api-based-plugins/4944-password-plugins.html">http://www.roundcubeforum.net/7-third-p … ugins.html</a></p><br /><p>remember to activate the plugin in config/main.inc.php</p><div class="quotebox"><blockquote><p>$rcmail_config[&#039;plugins&#039;] = array(&#039;additional_message_headers&#039;, &#039;archive&#039;);</p></blockquote></div><p><a href="http://trac.roundcube.net/wiki/Doc_Plugins">http://trac.roundcube.net/wiki/Doc_Plugins</a></p>]]></description>
			<author><![CDATA[null@example.com (hata_ph)]]></author>
			<pubDate>Mon, 31 May 2010 07:40:02 +0000</pubDate>
			<guid>http://www.iredmail.org/forum/post4096.html#p4096</guid>
		</item>
		<item>
			<title><![CDATA[Re: Configure password change for roundcubemail-0.3.1 [SOLVED]]]></title>
			<link>http://www.iredmail.org/forum/post4095.html#p4095</link>
			<description><![CDATA[<p>I guess you&#039;re using OpenLDAP backend, right?<br />Reference: <a href="http://iredmail.org/wiki/index.php?title=Upgrade/iRedMail/0.5.1-0.6.0#Roundcube_Webmail">http://iredmail.org/wiki/index.php?titl … be_Webmail</a></p>]]></description>
			<author><![CDATA[null@example.com (ZhangHuangbin)]]></author>
			<pubDate>Mon, 31 May 2010 05:15:11 +0000</pubDate>
			<guid>http://www.iredmail.org/forum/post4095.html#p4095</guid>
		</item>
		<item>
			<title><![CDATA[Configure password change for roundcubemail-0.3.1 [SOLVED]]]></title>
			<link>http://www.iredmail.org/forum/post4094.html#p4094</link>
			<description><![CDATA[<p>I have just upgraded roundcubemail-0.3.1 on my iRedOS-5 and all working fine except for the plugins especially password change....do anyone know how to configure it for iRedMail?</p>]]></description>
			<author><![CDATA[null@example.com (hata_ph)]]></author>
			<pubDate>Mon, 31 May 2010 04:39:00 +0000</pubDate>
			<guid>http://www.iredmail.org/forum/post4094.html#p4094</guid>
		</item>
	</channel>
</rss>
