Re: [exim] piping through a program to an address

Top Page
Delete this message
Reply to this message
Author: Tony Finch
Date:  
To: lee
CC: exim-users
Subject: Re: [exim] piping through a program to an address
On Fri, 1 Jul 2005, lee wrote:
>
> If I want to use an Exim filter to conditionally pipe an email through a perl
> program then onto a specific email address/mailbox, is the following correct ?


No. The way to do what you want is to set up a transport with a
transport_filter, and set up a router which matches the address you want
to deliver via this filter and sends it to your transport.

I don't think you can do what you want with an Exim filter file.

Tony.
--
<fanf@???> <dot@???> http://dotat.at/ ${sg{\N${sg{\
N\}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}\
\N}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}