On Fri, 10 Jun 2005 15:12:29 +0100 (BST), Philip Hazel
<[EMAIL PROTECTED]> wrote:
>On Fri, 10 Jun 2005, Marcos Monge 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.

Greetings
Marc

-- 
-------------------------------------- !! No courtesy copies, please !! -----
Marc Haber         |   " Questions are the         | Mailadresse im Header
Mannheim, Germany  |     Beginning of Wisdom "     | http://www.zugschlus.de/
Nordisch by Nature | Lt. Worf, TNG "Rightful Heir" | Fon: *49 621 72739834

--
## List details at http://www.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://www.exim.org/eximwiki/

Reply via email to