Autor: Marc Perkel Data: A: exim-users Assumpte: Re: [exim] Pipe message from filter to return header
I'd like to request a feature that there be a variation of "run" that
included the message being piped into it. ;)
Philip Hazel wrote:
>On Mon, 17 Jan 2005, Marc Perkel wrote:
>
>
>
>>OK - here's what I want to do - I want to run a program from the system filter
>>and return the results in a header - something like this:
>>
>>headers add "X-Spamprobe: ${run {/etc/exim/scripts/spamprobe-test
>>$message_id}{$value}{}}"
>>
>>However - I need to pipe the message into the program that I'm trying to get
>>the results from. How do I do the piping part?
>>
>>
>
>There is no facility for doing this from a system filter.
>
>(1) You might be able to bend the "cmdline" virus scanner interface in the
>exiscan feature to approximate what you want in an ACL.
>
>(2) You can pass the message id and let the program read the spool for
>itself.
>
>
>
>
>