Re: [exim] run script for every in/out message

Top Page
Delete this message
Reply to this message
Author: Marcos Monge
Date:  
To: Marc Haber
CC: exim-users
Subject: Re: [exim] run script for every in/out message
On 6/10/05, Marc Haber <mh+exim-users@???> wrote:
> >> There is some easy way to do that exim call a script (passing all the
> >> message by the standard input) for every message (local messages, and
> >> outgoing messages), and still continue doing the normal job (delivery
> >> in the mailbox or route to inet)?
> >
> >In a system filter, put
> >
> > unseen pipe /your/script
> >
> >(Check the docs for options to set up a system filter.)
>
> That will, however, run the script once per delivery attempt, while
> "if first_delivery" will only try to run the script once, and doesn't
> re-try if the script failed on the first try.


I think this will be the best solution for my case... system filter
wiht pipe and first_delivery condition. I just need that the script is
run once per message. I will try to implement this week.

Thanks you all
best regard
marcos