Merge branch 'master' of github.com:uakfdotb/gpg-mailgate
This commit is contained in:
commit
97013e0fb0
12
INSTALL
12
INSTALL
|
@ -24,3 +24,15 @@ gpg-mailgate unix - n n - - pipe
|
|||
content_filter = gpg-mailgate
|
||||
|
||||
7) Restart postfix.
|
||||
|
||||
Note 1: it is also possible to create a dedicated user to store the PGP public keys
|
||||
|
||||
1) useradd -s /bin/false -d /var/gpg -M gpgmap
|
||||
2) mkdir -p /var/gpg/.gnupg
|
||||
3) chown -R gpgmap /var/gpg
|
||||
4) chmod 700 /var/gpg/.gnupg
|
||||
5) sudo -u gpgmap /usr/bin/gpg --import /home/youruser/public.key --homedir=/var/gpg/.gnupg
|
||||
a) replace the path with the location of your public key
|
||||
b) the path can be deleted after importation
|
||||
6) Confirm that it's working: sudo -u gpgmap /usr/bin/gpg --list-keys --homedir=/var/gpg/.gnupg
|
||||
7) Use keyhome = /var/gpg/.gnupg in gpg-mailgate.conf
|
||||
|
|
11
README.md
11
README.md
|
@ -2,7 +2,10 @@
|
|||
|
||||
gpg-mailgate is a content filter for Postfix that automatically encrypts unencrypted incoming email using PGP for select recipients.
|
||||
|
||||
# TODO
|
||||
- fix attachments support
|
||||
- multipart messages support
|
||||
- testing
|
||||
For installation instructions, please refer to the included INSTALL file.
|
||||
|
||||
# Features
|
||||
- Correctly displays attachments and general email content; currently will only display first part of multipart messages
|
||||
- Public keys can be stored in a dedicated gpg-home-directory (see Note 1 in INSTALL)
|
||||
- Encrypts both matching incoming and outgoing mail (this means gpg-mailgate can be used to encrypt outgoing mail for software that doesn't support PGP)
|
||||
- Easy installation
|
||||
|
|
Loading…
Reference in New Issue