Re: [exim] Two transport filters

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Philip Hazel
Ημερομηνία:  
Προς: Alexey Danilevsky
Υ/ο: exim-users
Αντικείμενο: 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