<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p><br>
</p>
<div class="moz-cite-prefix">On 4.9.2019 9.21, Dustin Schoenwolf via
dovecot wrote:<br>
</div>
<blockquote type="cite" cite="mid:LnuvsjL--3-1@unkn0wn3d.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div style="16px" text-align="left">Hello there,<br>
</div>
<div style="16px" text-align="left"><br>
</div>
<div style="16px" text-align="left">is there a way to make the
mailcrypt plugin use the user's password or at least store it in
a hashed value?<br>
</div>
<div style="16px" text-align="left"><br>
</div>
<div style="16px" text-align="left">I'm using a passwd file for
authentication.</div>
<div style="16px" text-align="left"><br>
</div>
<div style="16px" text-align="left">I feel uncomfortable saving
the private password in plaintext in that file.<br>
</div>
<div style="16px" text-align="left"><br>
</div>
<div style="16px" text-align="left">Regards</div>
</blockquote>
<p><br>
</p>
<p>You can try in passdb return <br>
</p>
<p>userdb_mail_crypt_private_password=%{pkcs5,salt=%u,format=base64:password}</p>
<p>Aki<br>
</p>
</body>
</html>