Skip to content

LeftyBC/gpg-mailgate

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gpg-mailgate

I'm not the author of this tool, only bugfixer. Original code can be found on project google code page.

[Lefty] This script now only functions with Postfix's Delivered-To: header. This seems to be the only way to get a useful recipient list, as parsing the To/Cc/Bcc headers is unreliable - it can contain addresses we may not want to deliver to.

[Lefty] To configure postfix for this, add the "D" flag to the master.cf entry for your gpg-mailgate filter.

[Lefty] Example:

gpg-mailgate   unix -   n       n       -       -       pipe
  flags=D user=gpgmap argv=/usr/local/bin/gpg-mailgate.py

[Lefty] Also, in main.cf, ensure you have a recipient limit of 1 for your content filter.

[Lefty] Example:

content_filter = gpg-mailgate
gpg-mailgate_destination_recipient_limit = 1

TODO

  • attachments support
  • multipart messages support
  • testing

About

GPG Mail Gateway for Postfix fork

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%