Re: [exim] Two transport filters

トップ ページ
このメッセージを削除
このメッセージに返信
著者: Philip Hazel
日付:  
To: Alexey Danilevsky
CC: 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