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.