MailScanner gateway integration with PGP Univesal Server

Julian Field MailScanner at
Tue Mar 2 09:46:16 GMT 2010

On 01/03/2010 22:28, Phil Hale wrote:
> Hello fellow MailScanner folks,
> I've been tasked with researching a method to make our MailScanner SMTP
> gateways work with a set of PGP Universal Servers in "out of stream"
> mode.  Basically this would entail the MailScanner servers finding some
> header flag in the outbound/inbound mail messages and ,based on that
> header, passing them on to the PGP Universal servers for
> encryption/decryption.
You could do something with a SpamAssassin rule to find the header, then 
a "SpamAssassin Rule Actions" setting to trigger on that rule and store 
it in a directory. You then have a background daemon that lifts the 
message files out of that directory and passes them to your PGP servers.

You can use quite a few "tokens" in the "store" action to put different 
emails into different directories automatically, if that helps.


Julian Field MEng CITP CEng
Buy the MailScanner book at

Need help customising MailScanner?
Contact me!
Need help fixing or optimising your systems?
Contact me!
Need help getting you started solving new requirements from your boss?
Contact me!

PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
Follow me at and

This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

More information about the MailScanner mailing list