Re: [EXIM] Returning PIPE output

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Philip Hazel
Fecha:  
A: Bruce Bowler
Cc: exim-users
Asunto: Re: [EXIM] Returning PIPE output
On Mon, 24 Aug 1998, Bruce Bowler wrote:

> On occasion, I get a mail message that comes to me with a well defined
> subject. When these messages come, I've rigged my .forward file to
> forward them on to a different user (on a different machine) where they
> get processes via a pipe. I would like to have the output of the pipe
> sent back to me, or back to the other user on the other machine, but
> *NOT* back to the person who sent me the original message. So
> essentially what I'm looking for is either a "return_pipe_recipient"
> option that behaves sort of like "return_pipe", or a way in a .forward
> file to mangle the sender to be me.


I think the only way to do that would be to pipe the message to a local
script that creates a new message to the other address, instead of
normal forwarding.

Alternatively, if you are the administrator of the machine and can
tinker with the Exim configuration, you could set up a personal
forwardfile director with errors_to set to you. You could use a
"condition" option to make it conditional on the subject of the message.
Indeed, you don't even have to bother with a .forward file; just use a
smartuser with a condition test and an errors_to setting.


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



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