Re: Doveadm encrypt/decrypt files manually with per-user folder keys

2021-07-20 Thread Ben Burk
To anyone sifting through this mailing list in the future, I was able to accomplish manual encryption by moving mail or folders. This can be done in the client or through doveadm move. On 7/14/21 11:00 AM, Aki Tuomi wrote: On 14/07/2021 18:31 Ben Burk wrote: One more question and I think

Re: Doveadm encrypt/decrypt files manually with per-user folder keys

2021-07-14 Thread Aki Tuomi
> On 14/07/2021 18:31 Ben Burk wrote: > > > One more question and I think I should be ok. I just need to encrypt > unencrypted mails after having originally enabled mail_crypt. > > > I've determined how to decrypt encrypted mails from command line using > the private key for the mail folder

Re: Doveadm encrypt/decrypt files manually with per-user folder keys

2021-07-14 Thread Ben Burk
One more question and I think I should be ok. I just need to encrypt unencrypted mails after having originally enabled mail_crypt. I've determined how to decrypt encrypted mails from command line using the private key for the mail folder, like so: sudo -u vmail doveadm -o plugin/mail_crypt_

Re: Doveadm encrypt/decrypt files manually with per-user folder keys

2021-07-11 Thread Aki Tuomi
Try sudo -u vmail doveadm -o plugin/mail_crypt_private_password="${pass}" mailbox cryptokey export -u user '*' (note the '*') Aki > -- > Ben Burk > BURK.TECH System Administrator

Re: Doveadm encrypt/decrypt files manually with per-user folder keys

2021-06-30 Thread Ben Burk
I think I've been able to print/export what I think are user keys with the -U flag: user@testbox :~$ sudo -u vmail doveadm -o plugin/mail_crypt_private_password="${pass}" mailbox cryptokey export -u user -U Folder: Public ID: 3498hg355a86c3c924a5841bb2e5c6e1b0c5496d5116c4fcb9askdjfalk34 Erro

Re: Doveadm encrypt/decrypt files manually with per-user folder keys

2021-06-28 Thread Aki Tuomi
> On 29/06/2021 06:05 Ben Burk wrote: > > > There is an example of manually encrypting/decrypting mail processed by the > mail_crypt plugin here: > https://doc.dovecot.org/configuration_manual/mail_crypt_plugin/ > > > It outlines how one would manually encrypt/decrypt messages using global