Re: [EXIM] Filter question

Top Page
Delete this message
Reply to this message
Author: Philip Hazel
Date:  
To: Roelof Naude
CC: exim-users
Subject: Re: [EXIM] Filter question
On Tue, 14 Apr 1998, Roelof Naude wrote:

> How does the pipe command in a filter work. If the command (perl
> script, etc) return output, will it then be delivered. Or can't the
> pipe command be used for that.


The output returned is normally returned to the sender as an error,
depending on how the transport is configured.

Oh, I think I see what you are really asking. If you write

pipe /some/script

in a filter file, it does *not* run the pipe right there. It simply sets
up a pipe delivery, to be done along with all the other deliveries.
Think of a filter file as a "conditional .forward file".

-- 
Philip Hazel                   University Computing Service,
ph10@???             New Museums Site, Cambridge CB2 3QG,
P.Hazel@???          England.  Phone: +44 1223 334714



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