Re: [exim] Two transport filters

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Philip Hazel
Datum:  
To: Alexey Danilevsky
CC: exim-users
Betreff: Re: [exim] Two transport filters
On Tue, 28 Feb 2006, Alexey Danilevsky wrote:

> Hello!
> I need to pass messages through two transport filters. If I write:
> transport_filter= /path/to/filter1 params | /path/to/filter2 params
> then messages are passed through only filter1 but not through filter2. Why it
> does not work?


Because Exim does not run the command under a shell. Try

transport_filter= /bin/sh -c "/path/to/filter1 params | /path/to/filter2 params"

-- 
Philip Hazel            University of Cambridge Computing Service
Get the Exim 4 book:    http://www.uit.co.uk/exim-book