A mailgate for Postfix to encrypt incoming and outgoing email with S/MIME and/or OpenPGP and decrypting OpenPGP encrypted emails https://lacre.io
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
fkrone aa24cc2b4b Inform the user if registration failed because GPG-Mailgate-Web could not be reached. 6 years ago
GnuPG Support for decrypting PGP encrypted mails. However, it has some drawbacks and might cause some security issues. So before using it please read carefully through the installation instructions. 6 years ago
cron_templates All mails from cron script are now passed through the GPG-Mailgate so they are encrypted if possible. 6 years ago
gpg-mailgate-web All mails from cron script are now passed through the GPG-Mailgate so they are encrypted if possible. 6 years ago
register_templates Inform the user if registration failed because GPG-Mailgate-Web could not be reached. 6 years ago
.gitignore Added .gitignore for python 8 years ago
INSTALL.md Disable PGP/INLINE decryption by default. It does work, however, it has some drawbacks (e.g. content type for files getting lost). 6 years ago
LICENSE Update license to GNU GPL v3. 8 years ago
README.md Support for decrypting PGP encrypted mails. However, it has some drawbacks and might cause some security issues. So before using it please read carefully through the installation instructions. 6 years ago
gpg-mailgate.conf.sample All mails from cron script are now passed through the GPG-Mailgate so they are encrypted if possible. 6 years ago
gpg-mailgate.py Fixing stupid bug with non existing variable. Copy & paste fail. Finding a default key for recipient in domain keymap crashed mailgate. 6 years ago
register-handler.py Inform the user if registration failed because GPG-Mailgate-Web could not be reached. 6 years ago

README.md

gpg-mailgate

Please note: This fork is currently WIP. It is not recommended for use at the moment.

gpg-mailgate is a content filter for Postfix that automatically encrypts unencrypted incoming email using PGP or S/MIME for select recipients. It is also able to decrypt incoming PGP mails.

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 are stored in a dedicated gpg-home-directory
  • 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 or S/MIME)
  • Decrypt PGP encrypted mails for present private keys (but no signature check and it does not always work with PGP/INLINE encrypted mails)
  • Easy installation
  • gpg-mailgate-web extension is a web interface allowing any user to upload PGP keys so that emails sent to them from your mail server will be encrypted (see gpg-mailgate-web directory for details)
  • people can submit their public key like to any keyserver to gpg-mailgate with the gpg-mailgate-web extension
  • people can send an S/MIME signed email to register@yourdomain.tld to register their public key
  • people can send their public OpenPGP key as attachment or inline to register@yourdomain.tld to register it

This is forked from the original project at http://code.google.com/p/gpg-mailgate/

Authors

This is a combined work of many developers and contributors:

To Do

  • clean up code
  • rename from gpg-mailgate to openpgp-s-mime-mailgate or something.....
  • find a better solution for an own user instead of the user nobody
  • make PGP/INLINE decryption more reliable
  • even more magical stuff