Email decryption to use correct compression level
Dieser Commit ist enthalten in:
Ursprung
c2b7c5c3bf
Commit
87d1a39a48
2 geänderte Dateien mit 2 neuen und 2 gelöschten Zeilen
|
@ -9,7 +9,7 @@ Rufen Sie Dovecot auf, indem Sie `docker compose exec dovecot-mailcow /bin/bash`
|
|||
# EntschlĂĽsseln Sie /var/vmail
|
||||
find /var/vmail/ -type f -regextype egrep -regex '.*S=.*W=.*' | while read -r file; do
|
||||
if [[ $(head -c7 "$file") == "CRYPTED" ]]; then
|
||||
doveadm fs get compress lz4:0:crypt:private_key_path=/mail_crypt/ecprivkey.pem:public_key_path=/mail_crypt/ecpubkey.pem:posix:prefix=/ \
|
||||
doveadm fs get compress lz4:1:crypt:private_key_path=/mail_crypt/ecprivkey.pem:public_key_path=/mail_crypt/ecpubkey.pem:posix:prefix=/ \
|
||||
"$file" > "/tmp/$(basename "$file")"
|
||||
if [[ -s "/tmp/$(basename "$file")" ]]; then
|
||||
chmod 600 "/tmp/$(basename "$file")"
|
||||
|
|
|
@ -9,7 +9,7 @@ Enter Dovecot by running `docker compose exec dovecot-mailcow /bin/bash` in the
|
|||
# Decrypt /var/vmail
|
||||
find /var/vmail/ -type f -regextype egrep -regex '.*S=.*W=.*' | while read -r file; do
|
||||
if [[ $(head -c7 "$file") == "CRYPTED" ]]; then
|
||||
doveadm fs get compress lz4:0:crypt:private_key_path=/mail_crypt/ecprivkey.pem:public_key_path=/mail_crypt/ecpubkey.pem:posix:prefix=/ \
|
||||
doveadm fs get compress lz4:1:crypt:private_key_path=/mail_crypt/ecprivkey.pem:public_key_path=/mail_crypt/ecpubkey.pem:posix:prefix=/ \
|
||||
"$file" > "/tmp/$(basename "$file")"
|
||||
if [[ -s "/tmp/$(basename "$file")" ]]; then
|
||||
chmod 600 "/tmp/$(basename "$file")"
|
||||
|
|
Laden …
In neuem Issue referenzieren