* Arora, Sumit <sumit.ar...@hp.com>: > 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.
Have you read "man 8 pipe" yet? > Can u plz explain with some examples.. You can find some examples in /etc/postfix/master.cf. Look for commands that specify "pipe" in the command column. p...@rick > > 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 -- All technical questions asked privately will be automatically answered on the list and archived for public access unless privacy is explicitely required and justified. saslfinger (debugging SMTP AUTH): <http://postfix.state-of-mind.de/patrick.koetter/saslfinger/>