Do I have to replace the "password" part with the actual password or can I just copy it like that?

Will dovecot create the keypair automatically or do I have to use doveadm?


4. Sep. 2019, 08:33 von aki.tuomi@open-xchange.com:


On 4.9.2019 9.21, **** **** via dovecot wrote:
Hello there,

is there a way to make the mailcrypt plugin use the user's password or at least store it in a hashed value?

I'm using a passwd file for authentication.

I feel uncomfortable saving the private password in plaintext in that file.

Regards


You can try in passdb return

userdb_mail_crypt_private_password=%{pkcs5,salt=%u,format=base64:password}

Aki