Re: [exim] transport_filter for just a redirect?

Top Page
Delete this message
Reply to this message
Author: Heiko Schlittermann
Date:  
To: exim-users
Subject: Re: [exim] transport_filter for just a redirect?
Joey Aldrich <hypnos.h@???> (Fr 10 Aug 2007 16:15:33 CEST):
> How would I do this with a pipe?
>
> Writing the script to modify the message isn't a problem. But I can't
> seem to get the exim side to work.
>
> This is what I tried:
> ##Router:
> mysql_aliases:
> driver = redirect
> allow_filter
> user = atmail
> data = ${lookup mysql{ MYSQL_ALIASES }}
> pipe_transport = footer_two
>
> #Transport:
> footer_two:
> driver = pipe
> transport_filter="/usr/local/atmail/pipe.php"
> return_output
>


From my understanding the pipe_transport is *just set* and will be used
if the final delivery turns out to be a pipe (that is, if after redirect
the destination is something like "|command").
--
Heiko