OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Re: Need help to change the Postfix code

From: ram (ramnetcore.co.in)
Date: Mon Sep 14 2009 - 05:16:25 CDT


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