Tony, Though your advice makes sense but I am more interested in the direct approach of a server side smtp Content filter, reason being that bcc mailbox is not allowed on the target server where solution will be deployed.
Thanks Ashish From: Tony Nelson [mailto:tnel...@starpoint.com] Sent: Wednesday, November 21, 2012 7:50 PM To: Sharma, Ashish Subject: Re: C/C++ based Content filter API Personally I would use the Postfix always_bcc ( http://www.postfix.org/postconf.5.html#always_bcc ) and then process the mailbox using traditional Unix tools such as procmail, formail, etc. Without knowing a lot more about what you do there isn't a lot I can actually suggest. Having written a Postfix filter (in Java) I'd suggest against doing that unless you a confident in your network programming skills. If any part of the Postfix pipeline crashes or misbehaves, Postfix will start queuing up mail, and if you have any volume you can get behind rather quickly. Pushing the mail out to another mailbox with always_bcc allows you to write code that won't be part of the pipeline. Hope this is helpful. Tony Nelson Starpoint Solutions On Nov 21, 2012, at 9:10 AM, "Sharma, Ashish" <ashish.shar...@hp.com<mailto:ashish.shar...@hp.com>> wrote: Hi, Any comments on the following posted queries. Thanks in advance Ashish -----Original Message----- From: owner-postfix-us...@postfix.org<mailto:owner-postfix-us...@postfix.org> [mailto:owner-postfix-us...@postfix.org<mailto:postfix-users@postfix.org>] On Behalf Of Sharma, Ashish Sent: Monday, November 19, 2012 8:35 PM To: postfix-users@postfix.org<mailto:postfix-users@postfix.org> Subject: C/C++ based Content filter API Hi, I am implementing a customized enterprise solution where I need to receive an email , pull out the contents from the email and initiate some enterprise operations based on the received content of the email. I am using Postfix as mail receiving server and, for mail parsing I am planning to use Gmime (http://spruce.sourceforge.net/gmime/), The real problem here I am facing is that I am unable to find a good C/C++ based Content filter api, as one is provided in java like 'subethasmtp' (http://code.google.com/p/subethasmtp/). Can someone suggest one please? Thanks in advance!!! Ashish ________________________________ Since 1982, Starpoint Solutions has been a trusted source of human capital and solutions. We are committed to our clients, employees, environment, community and social concerns. We foster an inclusive culture based on trust, respect, honesty and solid performance. Learn more about Starpoint and our social responsibility at http://www.starpoint.com/social_responsibility ________________________________ This email message from Starpoint Solutions LLC is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message. Opinions, conclusions and other information in this message that do not relate to the official business of Starpoint Solutions shall be understood as neither given nor endorsed by it.