[mail-crypt-plugin] Password Query for Folder Keys questions

2019-05-31 Thread emordin via dovecot
> Can you try rm dovecot-attributes file? Okay it worked. I kinda did that by 'rm -rf' the entire /var/vmail/domain, and then I ran the following: doveadm -o plugin/mail_crypt_private_password=desired_password mailbox cryptokey generate -u user -UR And I got the check mark and the ID string of

Re: [mail-crypt-plugin] Password Query for Folder Keys questions

2019-05-31 Thread Aki Tuomi via dovecot
Can you try rm dovecot-attributes file? Aki On 31 May 2019 19:18 emordin via dovecot wrote: So when I tried this way I got the following output: user'@'host:~$ doveadm -o plugin/mail_crypt_private_passwo

[mail-crypt-plugin] Password Query for Folder Keys questions

2019-05-31 Thread emordin via dovecot
So when I tried this way I got the following output: user'@'host:~$ doveadm -o plugin/mail_crypt_private_password=desired_password mailbox > cryptokey generate -u user -UR user'@'host:~$ And when I tried this way I got the following output: user'@'host:~$doveadm -o plugin/mail_crypt_private_p

(4) [mail-crypt-plugin] Password Query for Folder Keys questions

2019-05-31 Thread emordin via dovecot
>> Can you try >> >> doveadm -o plugin/mail_crypt_private_password=desired_password mailbox > cryptokey generate -u user -UR >> >> Aki > > I tried that and got the following: > > [user at host](https://dovecot.org/mailman/listinfo/dovecot) :~$ doveadm -o plugin/mail_crypt_private_password=

Re: [mail-crypt-plugin] Password Query for Folder Keys questions

2019-05-31 Thread Aki Tuomi via dovecot
Seems some stray > got into the cmdline. Can you try without it? Aki On 31 May 2019 18:53 emordin via dovecot wrote: > Can you try > > doveadm -o plugin/mail_crypt_private_password=desired_password mailbox > cryptokey ge

[mail-crypt-plugin] Password Query for Folder Keys questions

2019-05-31 Thread emordin via dovecot
> Can you try > > doveadm -o plugin/mail_crypt_private_password=desired_password mailbox > > cryptokey generate -u user -UR > > Aki I tried that and got the following: user@host:~$ doveadm -o plugin/mail_crypt_private_password=desired_password mailbox > cryptokey generate -u user -UR Folder Pu

Re: [mail-crypt-plugin] Password Query for Folder Keys questions

2019-05-30 Thread Aki Tuomi via dovecot
> On 31 May 2019 05:21 emordin via dovecot wrote: > > > So I believe I generated a key successfully with: > 'doveadm mailbox cryptokey generate -u user -UR' because I got the output > with the check mark and the Public ID string of characters. > > However I still can't read the CRYPTED email

[mail-crypt-plugin] Password Query for Folder Keys questions

2019-05-30 Thread emordin via dovecot
So I believe I generated a key successfully with: 'doveadm mailbox cryptokey generate -u user -UR' because I got the output with the check mark and the Public ID string of characters. However I still can't read the CRYPTED emails when logging in with IMAP.. i'm still getting the following error

[mail-crypt-plugin] Password Query for Folder Keys questions

2019-05-30 Thread emordin via dovecot
Please disregard the previous question. But I have another... I have set up Folder Key encryption, and have sent an email to my mail server which is CRYPTED, however when I try to login to read the email I'm getting a 'Private key not available: Cannot decrypt <...>: error:03070068:bignum routi

[mail-crypt-plugin] Password Query for Folder Keys questions

2019-05-29 Thread emordin via dovecot
In Folder key plugin operation mode, using the following password query: password_query = SELECT \ email as user, password, \ '%w' AS userdb_mail_crypt_private_password \ FROM virtual_users WHERE email='%u'; Say I have two 'email' users...will each 'email' have a 'userdb_mail_crypt_private_passw