From: Jiri Vitek on
Hi everybody,

i need configure postfix to handle just one incoming address(i can do
that without problem), and not sending it to mailbox after validation,
but pass it to myown script(thats my question about). Which will parse
message and then send shorten way as sms using asterisk vgsm module..

What's the best way to do that?

btw I'm not afraid of spam, attacks and other threats, this setup will
run on isolated network and mua is security alert HW..

thanks for any tips
J.Vitek

From: Noel Jones on
On 6/29/2010 10:58 AM, Jiri Vitek wrote:
> Hi everybody,
>
> i need configure postfix to handle just one incoming address(i can do
> that without problem), and not sending it to mailbox after validation,
> but pass it to myown script(thats my question about). Which will parse
> message and then send shorten way as sms using asterisk vgsm module..
>
> What's the best way to do that?
>
> btw I'm not afraid of spam, attacks and other threats, this setup will
> run on isolated network and mua is security alert HW..
>
> thanks for any tips
> J.Vitek
>
>
>


Here's the docs for delivering mail to an external script:
http://www.postfix.org/MAILDROP_README.html

Just replace references to "maildrop" with your custom script.


-- Noel Jones

From: Jiri Vitek on
thank you, that is exactly what i was looking for..

J.Vitek

On Tue, 2010-06-29 at 11:10 -0500, Noel Jones wrote:
> On 6/29/2010 10:58 AM, Jiri Vitek wrote:
> > Hi everybody,
> >
> > i need configure postfix to handle just one incoming address(i can do
> > that without problem), and not sending it to mailbox after validation,
> > but pass it to myown script(thats my question about). Which will parse
> > message and then send shorten way as sms using asterisk vgsm module..
> >
> > What's the best way to do that?
> >
> > btw I'm not afraid of spam, attacks and other threats, this setup will
> > run on isolated network and mua is security alert HW..
> >
> > thanks for any tips
> > J.Vitek
> >
> >
> >
>
>
> Here's the docs for delivering mail to an external script:
> http://www.postfix.org/MAILDROP_README.html
>
> Just replace references to "maildrop" with your custom script.
>
>
> -- Noel Jones