f_ckmail at web.de
2020-Aug-26 13:11 UTC
userdb_mail_crypt_private_password: unknown variable after upgrading Dovecot
<html><head></head><body><div style="font-family: Verdana;font-size: 12.0px;"><div>Hello there,</div> <div> </div> <div>today I upgrade dovecot to version 2.3.7.2 (3c910f64b).</div> <div>I'm running the mailcrypt plugin to encrypt my mailbox.</div> <div> </div> <div>As referenced here (<a href="https://dovecot.org/pipermail/dovecot/2019-September/116974.html">https://dovecot.org/pipermail/dovecot/2019-September/116974.html</a>), I've added "userdb_mail_crypt_private_password=%{pkcs5,salt=%u,format=base64:password}" to my passdb file in order to not save the mailcrypt password in plaintext.</div> <div>After I sucessfully upgraded dovecot, I can no longer login to my dovecot server.</div> <div>The error says</div> <div>"auth: Error: passwd-file(<email>): Failed to expand extra field userdb_mail_crypt_private_password=%{pkcs5,salt=%u,format=base64:password}: Unknown variable '%pkcs5,salt=%u,format=base64'"</div> <div> </div> <div>I re-checked all the config files, but the configuration has not been altered after the upgrade.</div> <div> </div> <div>What could cause this error and how can I fix it?</div></div></body></html>