initial commit
This commit is contained in:
commit
9b86d14d6e
3 changed files with 815 additions and 0 deletions
25
README.md
Normal file
25
README.md
Normal file
|
@ -0,0 +1,25 @@
|
|||
# gpgmymail
|
||||
|
||||
Takes an email from stdin and encrypts it using the recipient's PGP key,
|
||||
provided as an argument when calling the script.
|
||||
|
||||
Written to be a Sieve filter to be used with `sieve_extprograms`. Can be used
|
||||
in a Sieve filter e.g.:
|
||||
|
||||
```sieve
|
||||
require ["vnd.dovecot.filter"];
|
||||
filter "gpgmymail" "pid1@revsuine.xyz";
|
||||
```
|
||||
|
||||
Will encrypt all incoming mail with the `pid1@revsuine.xyz` PGP key.
|
||||
|
||||
TODO link my blog post when I make it fully explaining how to use as Sieve
|
||||
filter.
|
||||
|
||||
# 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
|
||||
* Retaining mail attachments
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue