A mailgate for Postfix to encrypt incoming and outgoing email with S/MIME and/or OpenPGP and decrypting OpenPGP encrypted emails
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.
 
 
 
TheGreatGooo ff0871b311
Merge pull request #1 from svenseeberg/feature/automatic-key-download
1 year 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. 5 years ago
cron_templates All mails from cron script are now passed through the GPG-Mailgate so they are encrypted if possible. 5 years ago
gpg-mailgate-web All mails from cron script are now passed through the GPG-Mailgate so they are encrypted if possible. 5 years ago
register_templates Inform the user if registration failed because GPG-Mailgate-Web could not be reached. 5 years ago
.gitignore Added .gitignore for python 7 years ago
INSTALL.md Install: automatic pub key retrieval 1 year ago
LICENSE Update license to GNU GPL v3. 7 years ago
README.md Some final clean up and adding necessary information to the installation instructions 5 years ago
gpg-mailgate.conf.sample Added starttls support for SMTP 1 year ago
gpg-mailgate.py Added starttls support for SMTP 1 year ago
register-handler.py Inform the user if registration failed because GPG-Mailgate-Web could not be reached. 5 years ago

README.md

gpg-mailgate

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)
  • Decrypts 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

  • 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