On Mon, 2009-09-14 at 09:27 +0000, Arora, Sumit wrote: > 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. > > > > All and any type of suggestions are most welcome, I’ll really > appreciate. > 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