Re: [EXIM] branching on result of pipe command in system fil…

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Philip Hazel
Fecha:  
A: Simon Rainey
Cc: exim-users
Asunto: Re: [EXIM] branching on result of pipe command in system filter
On Wed, 21 Oct 1998, Simon Rainey wrote:

> Further to my earlier e-mail, a system filter seems the right approach.
> What I really need now is the ability to obtain the result of a pipe
> command so that I can filter externally and redirect internally. Capturing
> the exit value would be enough. Is this possible? The external filter has
> to do quite a bit more than is possible with the internal filtering
> mechanism (e.g. decoding MIME attachments).


I really should put something in the FAQ to answer this one, which keeps
coming up. The answer is that you can't, I'm afraid. The result of a
pipe command is not available to a filter, because it doesn't run any
deliveries while filtering. It just *sets up* deliveries. They all
happen later.

-- 
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.



--
*** Exim information can be found at http://www.exim.org/ ***