Thanks Erwan As I'm new to postfix I couldn't understand what u said, I googled it but didn't get any result useful to me.
Can u plz explain with some examples.. Many Thanks, Sumit Arora -----Original Message----- From: owner-postfix-us...@postfix.org [mailto:owner-postfix-us...@postfix.org] On Behalf Of Erwan David Sent: Wednesday, September 16, 2009 12:44 PM To: postfix-users@postfix.org Subject: Re: how to pipe the received emails to my java function On Wed, Sep 16, 2009 at 09:10:01AM CEST, "Arora, Sumit" <sumit.ar...@hp.com> said: > Hi All, > > I need to execute my code when I receive email on my postfix smtp server. > > Can anybody tell me what I can do if I want to execute my java function when > I receive email. > Also I need my whole email content in my java function. > > It will be great if anyone can show me some examples. Look at the pipe transport, its purpose is exactly to pipe mail to an external program. -- Erwan