postprox is an SMTP proxy which copies an SMTP conversation between its input and another SMTP server, but spools the DATA portion to a temporary file and runs a specified program on it before passing it on to the output server - or outputting an SMTP error code instead if the content filter says so.
postprox is design to do only one job: proxy SMTP conversations and pass message contents to another program to determine whether to accept or reject the message.
With this in mind, postprox is small and has a minimal feature set; its reduced complexity reduces the risk of bugs and security holes.
Requirements:
· Postfix
· Clam AntiVirus (optional)
What's New in This Release:
· added $OUTFILE so filtering scripts can modify the email in transit
· use putenv() instead of setenv() for better portability
· capture IP address, HELO, sender/recipient for logging
Product's homepage