<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[iRedMail — Roundcubemail Password plugin configuration]]></title>
		<link>https://forum.iredmail.org/topic19428-roundcubemail-password-plugin-configuration.html</link>
		<atom:link href="https://forum.iredmail.org/feed-rss-topic19428.xml" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Roundcubemail Password plugin configuration.]]></description>
		<lastBuildDate>Tue, 04 Apr 2023 01:11:06 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Roundcubemail Password plugin configuration]]></title>
			<link>https://forum.iredmail.org/post85963.html#p85963</link>
			<description><![CDATA[<div class="quotebox"><cite>mfirth wrote:</cite><blockquote><p>I think I may have the same problem, but it looks like the iRedMail setup has applied some configuration to this, using method “dovecot”.</p></blockquote></div><p>Some Dovecot releases have bug, when running &quot;doveadm pw&quot; command, it tries to read ssl cert, but it doesn&#039;t have required privilege to read cert, hence command failed.</p><p>If you&#039;re running such Dovecot releases, please switch password_algorithm to, e.g. &quot;SSHA512&quot;.</p>]]></description>
			<author><![CDATA[null@example.com (ZhangHuangbin)]]></author>
			<pubDate>Tue, 04 Apr 2023 01:11:06 +0000</pubDate>
			<guid>https://forum.iredmail.org/post85963.html#p85963</guid>
		</item>
		<item>
			<title><![CDATA[Re: Roundcubemail Password plugin configuration]]></title>
			<link>https://forum.iredmail.org/post85958.html#p85958</link>
			<description><![CDATA[<p>I think I may have the same problem, but it looks like the iRedMail setup has applied some configuration to this, using method “dovecot”.</p><p>Can that not work, and I need to use the settings here?</p><p>Did you create a specific additional MySQL user for this?</p>]]></description>
			<author><![CDATA[null@example.com (mfirth)]]></author>
			<pubDate>Mon, 03 Apr 2023 17:30:54 +0000</pubDate>
			<guid>https://forum.iredmail.org/post85958.html#p85958</guid>
		</item>
		<item>
			<title><![CDATA[Re: Roundcubemail Password plugin configuration]]></title>
			<link>https://forum.iredmail.org/post85858.html#p85858</link>
			<description><![CDATA[<p>Did you change and was solved your problem ?</p><p>$config[&#039;password_algorithm&#039;] = &#039;ssha512&#039;;<br />$config[&#039;password_algorithm_prefix&#039;] = &#039;{SSHA512}&#039;;<br />$config[&#039;password_db_dsn&#039;] = &#039;mysql://vmailadmin:vmailadminpassword@localhost/vmail&#039;;<br />$config[&#039;password_query&#039;] = &#039;UPDATE `mailbox` SET `password` = %P, modified=now() WHERE `username` = %u LIMIT 1&#039;;</p>]]></description>
			<author><![CDATA[null@example.com (shwesin13)]]></author>
			<pubDate>Wed, 22 Mar 2023 09:41:36 +0000</pubDate>
			<guid>https://forum.iredmail.org/post85858.html#p85858</guid>
		</item>
		<item>
			<title><![CDATA[Re: Roundcubemail Password plugin configuration]]></title>
			<link>https://forum.iredmail.org/post84858.html#p84858</link>
			<description><![CDATA[<div class="quotebox"><cite>dejavux wrote:</cite><blockquote><p>==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====<br />- iRedMail version (check /etc/iredmail-release): latest<br />- Deployed with iRedMail Easy or the downloadable installer? <br />- Linux/BSD distribution name and version: Ubuntu 18.04 LTS<br />- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL<br />- Web server (Apache or Nginx): Apache2<br />- Manage mail accounts with iRedAdmin-Pro? no<br />- [IMPORTANT] Related original log or error message is required if you&#039;re experiencing an issue.<br />====</p><p>Can anybody point me to the proper config for the Roundcube password plugin to work with iRedMail?</p><p>I&#039;m currently getting the following error... </p><div class="codebox"><pre><code>DB Error: [1305] FUNCTION roundcube.update_passwd does not exist (SQL Query: SELECT update_passwd(&#039;someHash&#039;, &#039;user@domain.com&#039;)) in /opt/www/roundcubemail-1.5.3/program/lib/Roundcube/rcube_db.php on line 566 (POST /mail/?_task=settings&amp;_action=plugin.password-save)</code></pre></div></blockquote></div><p>Well, I figured it out.&nbsp; Not sure if this is an &#039;approved&#039; way to do this or not.&nbsp; Making these entries in the <strong><span style="color:#AA0000">roundcubemail/plugins/password/config.inc.php</span></strong> file makes this functional.</p><div class="codebox"><pre><code>$config[&#039;password_algorithm&#039;] = &#039;ssha512&#039;;
$config[&#039;password_algorithm_prefix&#039;] = &#039;{SSHA512}&#039;;
$config[&#039;password_db_dsn&#039;] = &#039;mysql://vmailadmin:vmailadminpassword@localhost/vmail&#039;;
$config[&#039;password_query&#039;] = &#039;UPDATE `mailbox` SET `password` = %P, modified=now() WHERE `username` = %u LIMIT 1&#039;;</code></pre></div><p><strong>vmailadmin</strong> being an iRedMail user and only user allowed to update records in the vmail database.</p><p>This works and I offer no warranty.&nbsp; As far as making this a little more secure/better it might be best to create another user that only has update permission on the mailbox table, or allowing the roundcube database user this permission.</p><p>If anyone else has any feedback I would love to hear it.</p>]]></description>
			<author><![CDATA[null@example.com (dejavux)]]></author>
			<pubDate>Fri, 18 Nov 2022 21:11:47 +0000</pubDate>
			<guid>https://forum.iredmail.org/post84858.html#p84858</guid>
		</item>
		<item>
			<title><![CDATA[Roundcubemail Password plugin configuration]]></title>
			<link>https://forum.iredmail.org/post84837.html#p84837</link>
			<description><![CDATA[<p>==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====<br />- iRedMail version (check /etc/iredmail-release): latest<br />- Deployed with iRedMail Easy or the downloadable installer? <br />- Linux/BSD distribution name and version: Ubuntu 18.04 LTS<br />- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL<br />- Web server (Apache or Nginx): Apache2<br />- Manage mail accounts with iRedAdmin-Pro? no<br />- [IMPORTANT] Related original log or error message is required if you&#039;re experiencing an issue.<br />====</p><p>Can anybody point me to the proper config for the Roundcube password plugin to work with iRedMail?</p><p>I&#039;m currently getting the following error... </p><div class="codebox"><pre><code>DB Error: [1305] FUNCTION roundcube.update_passwd does not exist (SQL Query: SELECT update_passwd(&#039;someHash&#039;, &#039;user@domain.com&#039;)) in /opt/www/roundcubemail-1.5.3/program/lib/Roundcube/rcube_db.php on line 566 (POST /mail/?_task=settings&amp;_action=plugin.password-save)</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (dejavux)]]></author>
			<pubDate>Wed, 16 Nov 2022 17:18:05 +0000</pubDate>
			<guid>https://forum.iredmail.org/post84837.html#p84837</guid>
		</item>
	</channel>
</rss>
