Hi, I am looking for information on how to write a small content filter for postfix. I am interested to know how the it works and how content is passed over from postfix to the filter and how the same is returned back to postfix. My requirements include allowing only specific email mailfrom to send to certain mailto addresses, and attachment sizes for specific mailfrom and mailto address. Any help on this will be appreciated.