Hello, if I try to retrieve crypt_private_key_file from userdb/ldap doesn't 
work, infact if I have:

crypt_global_private_key main{
  crypt_private_key_password=secret
  crypt_private_key_file=/path/to/file
}
all is ok. If I want to have:

crypt_global_private_key main{
  crypt_private_key_password=secret
  crypt_private_key_file=
}
userdb ldap {
    driver = ldap
.....
    fields {
      
mail_crypt_global_private_key/main/crypt_private_key_file=inline:%{ldap:key}
    }
}

I have into logs:

lmtp(134879): Fatal: Raw user initialization failed: mail_crypt_plugin: nuovo: 
Couldn't parse private key : Unknown key format

I am sure that the key is correctly base64 encoded, infact if I pick the ldap 
value of %{ldap:key} and I decode base64 I have the pkey crypted key.
Any suggestion?
_______________________________________________
dovecot mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to