Re: [Exim] System filter pipe not working

Top Page
Delete this message
Reply to this message
Author: Nigel Wade
Date:  
CC: Exim Users
Subject: Re: [Exim] System filter pipe not working
Rory Campbell-Lange wrote:
> Hi
>
> I'm reposting this as I'm completely flummoxed.
>
> I'm getting lines like this in the logs:
>
> 2004-05-19 14:40:24 1BQRJ0-0002g2-Js =>
> |/root/bin/exim4_postgres_insert.pl $h_date $message_id $h_X-Filter-ID
> $recipients $h_subject $message_size $h_from $h_to $h_cc <system-filter>
> T=system_pipe_transport
>
> but nothing is hitting the script. I'm trying to collect the parameters
> in @ARGV and there is nothing there!


Well, if you actually showed us what's in the system_filter we might be able
to offer some help. Otherwise we can't.

>
> Also, why does the name of the command have to appear in both the
> transport definition and the system filter file pipe line?


It doesn't. The system_filter specifies what the pipe command is - there may
be many pipe commands in the system_filter.

This is my system_filter pipe transport:

system_filter_pipe_transport:
driver = pipe
user = exim
group = exim

A pipe command in the system filter might be:

unseen noerror pipe "/etc/exim/some_command $sender_address $recipients"

--
Nigel Wade, System Administrator, Space Plasma Physics Group,
             University of Leicester, Leicester, LE1 7RH, UK
E-mail :    nmw@???
Phone :     +44 (0)116 2523548, Fax : +44 (0)116 2523555