I have a script that uses doveadm backup to create a local copy of a
specific mail folder for some processing of the contents. The source folder
is encrypted.
pre Dovecot 2.4 this command worked like a charm.
doveadm -o plugin/zlib_save=gz \
-o plugin/zlib_save_level=0 \
-o plugin/mail_crypt_save_version=0 \
backup -u doug -m FolderName maildir:/tmp/Maildir/test:LAYOUT=fs
It seems mail_crypt_save_version been removed in 2.4? From the mail_crypt
plugin page the closest thing I could find is to override
crypt_write_algorithm
(https://doc.dovecot.org/2.4.5/core/plugins/mail_crypt.html#crypt_write_algo
rithm)
"Set the encryption algorithm for newly written mails. If empty, new mails
are not encrypted. Existing encrypted mails (with any algorithm) can be
decrypted regardless of this setting."
I cannot find a command line syntax to successfully set it to null. The
following syntax doesn't produce an error, but the resulting messages that
are created by the backup remain encrypted.
doveadm -o crypt_write_algorithm="" \
backup -u doug -m FolderName maildir:/tmp//Maildir/test
Is there a way for doveadm backup to save the message decrypted, and
uncompressed?
Thanks,
Doug
_______________________________________________
dovecot mailing list -- [email protected]
To unsubscribe send an email to [email protected]