postfix advanced content filter with simple filter script, need SMTP client and server

by nbucko   Last Updated October 10, 2019 19:00 PM

The whole point of trying to setup content filtering is because I need to log the headers and body of every email going through postfix, not just SMTP. I set up simple content filtering which I later learned didn't pick up mail sent using the sendmail command so I dove into advanced content filtering. The simple content filter script I added worked in logging everything using the simple filter but of course wouldn't work with advanced filtering because there is no SMTP client/server functionality in my script. I have no programming knowledge so I was looking for something already out there that I can use to add the SMTP client and server functionality to my script. Or, if I'm going about this the wrong way and can log full headers and body another way that would work as well.

Tags : postfix

Related Questions

Updated March 27, 2015 14:00 PM

Updated March 31, 2015 18:00 PM

Updated April 02, 2015 11:00 AM

Updated March 30, 2015 16:00 PM