Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email firstname.lastname@example.org
From: Arora, Sumit (sumit.arorahp.com)
Date: Mon Sep 14 2009 - 07:51:29 CDT
Thanks egoitz & Ram.
Actually I don't need the whole functionality of Postfix, I also need to cut the code for my requirement only.
My requirement is to just receive the email and send the body and attachments to another component.
There is no requirement of sending any email from my postfix server.
Now my question is, is it worth to cut the code and use the only module which I need or I should go with the whole postfix?
From: owner-postfix-userspostfix.org [mailto:owner-postfix-userspostfix.org] On Behalf Of egoitzramattack.net
Sent: Monday, September 14, 2009 6:30 PM
Subject: Re: Need help to change the Postfix code
> Hi All,
> I'm new to postfix, I need to execute my code when I receive a new email
> on my postfix smtp server.
> Please give me some idea, where I can get the postfix code documentation
> so that I can change its code.
Depending on what the code does... you could run a script passing content
to it via pipe in master.cf. This way is like maildrop mda works for
What exactly does you're code?.
> All and any type of suggestions are most welcome, I'll really appreciate.
> Thanks in advance,
> Sumit Arora
To change postfix code for such a thing is absolutely unnecessary
You can run a custom script in postfix by piping the mail to a script via aliases , or a master.cf entry