Auth variables unknown variable -- about to go crazy

efeizbudak efeizbudak at
Mon Feb 27 20:00:50 UTC 2023

Hi everyone,

I'm trying to configure my email server to encrypt mails on a per user
basis. I have the following in my conf:

mail_plugins = $mail_plugins mail_crypt
mail_attribute_dict = file:%h/Mail/dovecot-attributes

plugin {
        mail_crypt_curve = secp521r1
        mail_crypt_save_version = 2
        mail_crypt_require_encrypted_user_key = yes
        mail_crypt_private_password = %N{password}

And I'm getting %password unknown variable error. I use pam to store the
passwords. All I want is to be able to hash the user password and use
that to encrypt/decrypt the keys. Can someone _please_ help me?

All the best,

The funny quote of this email is trivial and left as an exercise.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 963 bytes
Desc: not available
URL: <>

More information about the dovecot mailing list