Re: Aw: Re: Re: mail-crypt long-term support? How to backup?

2023-08-05 Thread Ben Burk via dovecot
tly if run more frequently. I wrote all this before hearing about maildirlock. I may read about that and incorporate that as part of my solution possibly. -- Ben Burk BURK.TECH System Administrator Aug 5, 2023 6:53:34 AM eaerhaerhaehae aehraerhaeha : > But the files could always change aga

Re: Aw: Re: mail-crypt long-term support? How to backup?

2023-08-04 Thread Ben Burk via dovecot
pen sometimes, and send an external alert, not log it internally *Gesendet:* Montag, 31. Juli 2023 um 00:37 Uhr *Von:* "Ben Burk via dovecot" *An:* dovecot@dovecot.org *Betreff:* Re: mail-crypt long-term support? How to backup? I have a similar setup to you. Mail_crypt enabled, user-keys.

Re: mail-crypt long-term support? How to backup?

2023-07-30 Thread Ben Burk via dovecot
I have a similar setup to you. Mail_crypt enabled, user-keys. Like Aki says, its best to use tar for this. I wrote a script a year or so back to incrementally backup my mailboxes. Curious what others think. https://gitlab.com/ben.burk/burk.tech_personal/-/raw/master/maildirincbackup.sh On 7/3

Re: Can I encrypt already existant unencrypted mail before I start using the mail-crypt plugin?

2023-02-21 Thread Ben Burk
I would definitely get mail-crypt working on your system before worrying about encrypting existing emails. Iirc dovecot should support both types of files (encrypted, and non-encrypted) concurrently. So BEFORE you try anything, make sure via logs, etc that mail is being written to the fs as an

Re: Doveadm backup...

2022-02-28 Thread Ben Burk
So, a simple backup should be done by dsync finally ? Do you recommend finally NOT to do a backup ( Doveadm backup ) but a replication process ? ( https://wiki.dovecot.org/Replication ) ? On 2/28/22 06:24, Ben Burk wrote: Did you try running dsync? On 2/27/22 23:15, Stephane Magnier wrote: HI

Re: Doveadm backup...

2022-02-27 Thread Ben Burk
Did you try running dsync? On 2/27/22 23:15, Stephane Magnier wrote: HI, Any idea ? Any clue ? On 2/25/22 21:50, Stephane Magnier wrote: Hi I've recently tried to use the Dovecadm backup to backup the emails..  with the following syntax doveadm -Dv backup -u userx maildir:/mnt/nfs-backu

Re: SSL errors after certificate renewal

2021-09-07 Thread Ben Burk
s and Regards, Amol I assume you tried restarting dovecot, but just in case... -- Ben Burk BURK.TECH System Administrator

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 Ben Burk
ilbox cryptokey export -u user -U I've tried with On 7/12/21 1:25 AM, Aki Tuomi wrote: 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 -- Ben Burk BURK.TECH System Administrator

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

2021-06-30 Thread Ben Burk
ettings: mail_attribute_dict = file:%h/Maildir/dovecot-attributes mail_plugins = $mail_plugins mail_crypt plugin {   mail_crypt_curve = secp521r1   mail_crypt_save_version = 2   mail_crypt_require_encrypted_user_key = yes } On 6/29/21 1:11 AM, Aki Tuomi wrote: On 29/06/2021 06:05 Ben Burk wrote: There is

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

2021-06-28 Thread Ben Burk
=foo:public_key_path=foo2:posix:prefix=/path/to/files/root path/to/file Is there a way to accomplish this using per-user folder keys? Is there some way of making sense of the information in the dovecot-attributes file to accomplish this? -- Ben Burk BURK.TECH System Administrator

Backing up per user keys for mailcrypt

2021-06-17 Thread Ben Burk
in this dovecot-attributes file? Is there any established procedure for restoring keys? Is it as simple as placing the dovecot-attributes file, if that is infact what needs to be backed up beforehand to perform a restore. -- Ben Burk BURK.TECH System Administrator

Issue with dovecot v2.3.4.1 and mail_crypt plugin. Email received, but not encrypted on disk until moved out of root Maildir folder. IMAP child crashes when mail is read from folder message was moved

2021-05-22 Thread Ben Burk
crypted. It is stored plaintext. However, when the mail is moved, it is then properly encrypted. b...@smtp.burk.tech :~/Maildir/cur$ file 1621726534.31820_1.smtp\:2\, 1621726534.31820_1.smtp:2,: SMTP mail, ASCII text b...@smtp.burk.tech :~/Maildir/Receipts/cur$ file 1621726595.M343917P30832.smtp\,S\=2927\,W\=2988\:2\,S 1621726595.M343917P30832.smtp,S=2927,W=2988:2,S: MailCrypt -- Ben Burk BURK.TECH System Administrator