Sharma, Ashish: > Jona, > > The suggested solution is too specific to postfix, in my solution > I might use SMTP aware content filter like amavisd-new prior to > feeding mail to my own custom content filter, so pipe is not > suitable in my case.
CONTENT_INSPECTION_README introduces two SMTP-based filter solutions. > I am looking for a SMTP aware content filter api in C/C++ just > like 'subethasmtp' (http://code.google.com/p/subethasmtp/) for > Java. Amavisd-new is widely used with Postfix and already does all the MIME parsing that you need. Wietse