Hi Nigel
Thanks for your responses; sorry about responding properly earlier.
Signs of extreme frustration.
I failed to look at your email closely enough. The error I was making
was to put a "command = " line in the pipe transport (see *** below for
anyone who might find this thread in the archives).
It now all works as expected. Thanks very much for your help.
Kind regards,
Rory
On 20/05/04, Nigel Wade (nmw@???) wrote:
> >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.
>
On 19/05/04, Rory Campbell-Lange (rory@???) wrote:
> On 13/05/04, Nigel Wade (nmw@???) wrote:
> > Rory Campbell-Lange wrote:
> > ># main
> > >system_filter = /etc/exim4/sysfilter
> > >system_filter_user = 8
> > >system_filter_group = 8
> > >system_filter_pipe_transport = system_pipe_transport
> > >
> > ># transport
> > >system_pipe_transport:
> > > driver = pipe
> > > command = /root/bin/exim4_postgres_insert.pl <------- ***
> > > ignore_status
> > > return_fail_output = false
> > > return_output = false
> > >
> > ># filter file pipe line
> > >pipe "<cmd> arg1 arg2"
> > The system_filter_pipe_transport defines which transport is to be used when
> > a pipe command appears in the system filter. The command to be used is
> > specified in the system filter e.g.
> >
> > unseen noerror pipe "/etc/exim/sophos_update"
> >
> > in the system_filter will pipe the message to the command
> > "/etc/exim/sophos_update" in the system_filter_pipe_transport.
--
Rory Campbell-Lange
<rory@???>
<
www.campbell-lange.net>