search for: mail_crypt_save_version

Displaying 20 results from an estimated 73 matches for "mail_crypt_save_version".

2023 Jan 08
3
Dovecot - mail_crypt - lmtp-server - no password to decrypt the key
...manual/mail_crypt_plugin/#global-keys /"A good solution for environments where no user folder sharing is needed is to generate per-user EC key pair and encrypt that with something derived from user?s password."/ I am setting mail_crypt_global_private_key, mail_crypt_global_public_key, mail_crypt_save_version from user_query and userdb_mail_crypt_global_private_key_password from password_query. mail_crypt seems to work fine in imap (I saved a message as draft and it is stored encrypted on the disk), but lmtp complains about "mail_crypt_global_private_key_password unset, no password to decrypt...
2018 Nov 07
2
Dovecot mail-crypt plugin
...> The only change which I did is updating the "dovecot.conf" file. I added > below lines. > > mail_plugins = $mail_plugins mail_crypt > mail_attribute_dict = file:%h/Maildir/dovecot-attributes > > plugin { > mail_crypt_curve = <some curve you like> > mail_crypt_save_version = 2 > } > > > I realized that, mails are in plain text format even I added those > encryption as dovecot wiki. > > On Wed, Nov 7, 2018 at 1:52 PM Anushka Uditha Bandara <anu.udb at gmail.com> > wrote: > > > After I configuring this, I logged in to the serv...
2018 Nov 07
2
Dovecot mail-crypt plugin
...ion. Because dovecot wiki is > > little bit confusing to me. > > > > "mail_plugins = $mail_plugins mail_crypt > > mail_attribute_dict = file:%h/Maildir/dovecot-attributes > > > > plugin { > > mail_crypt_curve = <some curve you like> > > mail_crypt_save_version = 2 > > }" > > > > I am stuck in here. > > > > Thank you in advance, > > > > Anushka Bandara > > That should work, why are you stuck? > > Aki > -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://d...
2018 Nov 07
2
Dovecot mail-crypt plugin
.... I added > > > below lines. > > > > > > mail_plugins = $mail_plugins mail_crypt > > > mail_attribute_dict = file:%h/Maildir/dovecot-attributes > > > > > > plugin { > > > mail_crypt_curve = <some curve you like> > > > mail_crypt_save_version = 2 > > > } > > > > > > > > > I realized that, mails are in plain text format even I added those > > > encryption as dovecot wiki. > > > > > > On Wed, Nov 7, 2018 at 1:52 PM Anushka Uditha Bandara <anu.udb at gmail.com > > >...
2019 Dec 01
2
Mail-crypt won't encrypt emails
...ncrypted fine but the incoming ones don't. We tried everything including this config: mail_attribute_dict = file:%h/Maildir/dovecot-attributes mail_plugins = $mail_plugins mail_crypt plugin { mail_crypt_global_private_key = <ecprivkey.pem mail_crypt_global_public_key = <ecpubkey.pem mail_crypt_save_version = 2 } also this one: plugin { mail_crypt_curve = prime256v1 mail_crypt_save_version = 2 } but to no avail. There are no visible errors, Dovecot restarts fine and outgoing emails get encrypted. Any ideas? -- Kind Regards, Support Team SERVERIA.COM Riga, LV-1063, Latvia US: +1 (21...
2018 Nov 07
1
Dovecot mail-crypt plugin
.../learn-spam.sieve imapsieve_mailbox1_causes = COPY imapsieve_mailbox1_name = Spam imapsieve_mailbox2_before = file:/var/mail/sieve/global/learn-ham.sieve imapsieve_mailbox2_causes = COPY imapsieve_mailbox2_from = Spam imapsieve_mailbox2_name = * mail_crypt_curve = prime256v1 mail_crypt_save_version = 2 quota = maildir:User quota quota_exceeded_message = Benutzer %u hat das Speichervolumen ?berschritten. / User %u has exhausted allowed storage space. sieve = file:/var/mail/sieve/%d/%n/scripts;active=/var/mail/sieve/%d/%n/active-script.sieve sieve_before = /var/mail/sieve/global/spa...
2019 Apr 09
3
decrypt.rb
...be the key you tried was not used to encrypt the file? > Aki Aki, it's the same key I've used in the config for the mail_crypt plugin in 90-plugin.conf: plugin { ? mail_crypt_global_private_key = <[PATH_TO_PRIVATE_KEY] ? mail_crypt_global_public_key = <[PATH_TO_PUBLIC_KEY] ? mail_crypt_save_version = 2 } That's the private key that's encrypting all of the messages successfully, so that's the one I would use with script, correct? -Dave
2018 Nov 07
2
Dovecot mail-crypt plugin
...cryption. Is it enough to set below configurations on dovecot for mail encryption. Because dovecot wiki is little bit confusing to me. "mail_plugins = $mail_plugins mail_crypt mail_attribute_dict = file:%h/Maildir/dovecot-attributes plugin { mail_crypt_curve = <some curve you like> mail_crypt_save_version = 2 }" I am stuck in here. Thank you in advance, Anushka Bandara -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://dovecot.org/pipermail/dovecot/attachments/20181107/a70d99b8/attachment.html>
2020 Mar 31
1
mail_crypt crashing randomly during LMTP
On 29. Mar 2020, at 17.07, Timo Sirainen <timo at sirainen.com> wrote: > >> This is what the log says in the moment of crashing: >> dovecot: lmtp(53852): Panic: Module context mail_crypt_user_module missing >> *** backtrace *** (see: https://pastebin.com/YCiFtxmy) > > It shows mailbox_free() in the backtrace, so it's probably crashing in
2018 Oct 12
2
Sieve scripts not replicated
...dovecot: managesieve(hativ at example.com)<5360><OXvK9QV4fOBbQ666>: Debug: Added userdb setting: plugin/mail_crypt_private_password=<hidden> Oct 12 12:57:57 srv1 dovecot: managesieve(hativ at example.com)<5360><OXvK9QV4fOBbQ666>: Debug: Added userdb setting: plugin/mail_crypt_save_version=0 Oct 12 12:57:57 srv1 dovecot: managesieve(hativ at example.com)<5360><OXvK9QV4fOBbQ666>: Debug: Added userdb setting: plugin/quota_rule=*:bytes=0 Oct 12 12:57:57 srv1 dovecot: managesieve(hativ at example.com)<5360><OXvK9QV4fOBbQ666>: Debug: Effective uid=998, gid=998,...
2018 Nov 07
0
Dovecot mail-crypt plugin
...psieve_mailbox1_name = Spam > > imapsieve_mailbox2_before = file:/var/mail/sieve/global/learn-ham.sieve > > imapsieve_mailbox2_causes = COPY > > imapsieve_mailbox2_from = Spam > > imapsieve_mailbox2_name = * > > mail_crypt_curve = prime256v1 > > mail_crypt_save_version = 2 > > quota = maildir:User quota > > quota_exceeded_message = Benutzer %u hat das Speichervolumen > ?berschritten. / User %u has exhausted allowed storage space. > > sieve = > file:/var/mail/sieve/%d/%n/scripts;active=/var/mail/sieve/%d/%n/active-script.sieve >...
2018 Oct 12
0
Sieve scripts not replicated
...ieve(hativ at example.com)<5360><OXvK9QV4fOBbQ666>: Debug: Added > userdb setting: plugin/mail_crypt_private_password=<hidden> > Oct 12 12:57:57 srv1 dovecot: > managesieve(hativ at example.com)<5360><OXvK9QV4fOBbQ666>: Debug: Added > userdb setting: plugin/mail_crypt_save_version=0 > Oct 12 12:57:57 srv1 dovecot: > managesieve(hativ at example.com)<5360><OXvK9QV4fOBbQ666>: Debug: Added > userdb setting: plugin/quota_rule=*:bytes=0 > Oct 12 12:57:57 srv1 dovecot: > managesieve(hativ at example.com)<5360><OXvK9QV4fOBbQ666>: Debug: > E...
2018 May 17
1
Decryption method for Maildir messages stored by mail_crypt plugin
...found numerous threads detailing help with mail_crypt setup, but none of my research has yielded a method of decrypting the stored messages. Relevant plugin config: mail_crypt_curve = prime256v1 mail_crypt_global_private_key = <pirvkey> mail_crypt_global_public_key = <pubkey> mail_crypt_save_version = 2 Method I attempted for manual decryption is listed below: openssl pkeyutl -derive -inkey mailcrypt.key -peerkey mailcrypt.pub -out shared_secret.bin openssl enc -aes256 -base64 -k $(base64 shared_secret.bin) -d -in test.enc -out test.txt Openssl reports an error reading the input file, but i...
2018 Nov 07
0
Dovecot mail-crypt plugin
The only change which I did is updating the "dovecot.conf" file. I added below lines. mail_plugins = $mail_plugins mail_crypt mail_attribute_dict = file:%h/Maildir/dovecot-attributes plugin { mail_crypt_curve = <some curve you like> mail_crypt_save_version = 2 } I realized that, mails are in plain text format even I added those encryption as dovecot wiki. On Wed, Nov 7, 2018 at 1:52 PM Anushka Uditha Bandara <anu.udb at gmail.com> wrote: > After I configuring this, I logged in to the server and check the emails. > But they are in plai...
2018 Nov 07
0
Dovecot mail-crypt plugin
...dating the "dovecot.conf" file. I added > > below lines. > > > > mail_plugins = $mail_plugins mail_crypt > > mail_attribute_dict = file:%h/Maildir/dovecot-attributes > > > > plugin { > > mail_crypt_curve = <some curve you like> > > mail_crypt_save_version = 2 > > } > > > > > > I realized that, mails are in plain text format even I added those > > encryption as dovecot wiki. > > > > On Wed, Nov 7, 2018 at 1:52 PM Anushka Uditha Bandara <anu.udb at gmail.com > > > > wrote: > > > > &g...
2019 Sep 30
0
Mail-crypt won't encrypt emails
...ncrypted fine but the incoming ones don't. We tried everything including this config: mail_attribute_dict = file:%h/Maildir/dovecot-attributes mail_plugins = $mail_plugins mail_crypt plugin { mail_crypt_global_private_key = <ecprivkey.pem mail_crypt_global_public_key = <ecpubkey.pem mail_crypt_save_version = 2 } also this one: plugin { mail_crypt_curve = prime256v1 mail_crypt_save_version = 2 } but to no avail. There are no visible errors, Dovecot restarts fine and outgoing emails get encrypted. Any ideas? -------------- next part -------------- An HTML attachment was scrubbed... URL:...
2023 Feb 27
1
Auth variables unknown variable -- about to go crazy
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 some...
2018 Feb 17
1
`mail_crypt` Doesn't Appear to be Working
...s://wiki2.dovecot.org/Plugins/. For reference here's my /etc/dovecot/conf.d/10-mail-crypt.conf file: ---- mail_plugins = $mail_plugins mail_crypt plugin { # mail_crypt_global_private_key = </etc/dovecot/ecprivkey.pem mail_crypt_global_public_key = </etc/dovecot/ecpubkey.pem mail_crypt_save_version = 2 } ---- I saw in a previous message on this mailing list that messages can be encrypted without the private key, so it's stored elsewhere. :-) After restarting dovecot and sending myself a message I found that the message was still unencrypted. Nothing in /var/log/dovecot/*.log files or...
2019 Mar 22
2
mail_crypt not working on incoming messages?
...he file that appears in the Maildir folder structure IS encrypted. I have confirmed that mail_crypt is active in 10-mail.conf, 20-imap.conf, and 20-pop3.conf.? The global public and private keys are working because (a) there are no errors and (b) it DOES encrypt -- just not on incoming email.? mail_crypt_save_version is set 2, as per the docs for Dovecot 2 instruct. What am I missing?? Does anyone have any thoughts as to why JUST incoming messages aren't encrypted, but that messages moved into the IMAP account DO get encrypted?? Did I set up something incorrectly? I'm using sendmail as the MTA, if...
2018 Feb 09
3
Best mail encryption solution for per-user
Hai, Do you have advice about Dovecot plugins for mail encryption: https://wiki2.dovecot.org/Plugins/MailCrypt https://0xacab.org/riseuplabs/trees I like NaCL based encryption but the MailCrypt plugin is better because it's maintained by Dovecot developers (is this correct?) Hard to understand MailCrypt docs so may I ask, may I provide per user encryption? I don't like global