allow user to control encoding

This commit is contained in:
revsuine 2024-11-12 14:06:19 +00:00
parent edd8650c84
commit a2eaa913be
Signed by: revsuine
GPG key ID: 3F257B68F5BC9339
2 changed files with 21 additions and 12 deletions

View file

@ -24,8 +24,14 @@ with the up-to-date versions of Python and python-gnupg
* Python 3
* [python-gnupg](https://gnupg.readthedocs.io/en/latest/)
# Notes on Scope
Since this script is written to be used as a Sieve filter, no exclusion
behaviour which is much better achieved with Sieve will be implemented, e.g.
"do not encrypt emails from kate@gmail.com".
# Credits
* Julian Klode for the [original code](https://github.com/julian-klode/ansible.jak-linux.org/blob/dovecot/roles/mailserver/files/usr/local/lib/dovecot-sieve-filters/gpgmymail)
* revsuine for some modifications:
* Not encrypting already encrypted mail
* revsuine for modifications to gpgmymail