<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">On 2/12/19 5:05 PM, Robert Moskowitz
via dovecot wrote:<br>
</div>
<blockquote type="cite"
cite="mid:4a69ae51-bafb-00ed-36d7-6ce2abc4865c@htt-consult.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
I have trying to find how to set the dovecot-sql.conf for using
SHA256/512. I am going to start clean with the stronger format,
not migrate from the old MD5. It seems all I need is:<br>
<pre><span class="inner-pre" style="font-size: 16px">[...]
default_pass_scheme = SHAxxx-CRYPT
</span><span class="inner-pre" style="font-size: 16px"></span>[...]
</pre>
</blockquote>
<p>How do your users change their password ?</p>
<p>Here's how I configured my roundcube's password plugin to keep
things together ($roundcubefolder/plugins/password/config.php)<br>
</p>
<pre>$config['password_algorithm'] = 'dovecot';</pre>
<pre>$config['password_algorithm_prefix'] = '{SHA512-CRYPT}';</pre>
<pre>$config['password_dovecotpw_method'] = 'SHA512-CRYPT';</pre>
<pre>$config['password_query'] = "UPDATE mail.users SET password=%P WHERE email=%u LIMIT 1";</pre>
<p>I left other fields alone.<br>
</p>
<p>Yassine.<br>
</p>
</body>
</html>