Re: [Exim] Command Execution

Top Page
Delete this message
Reply to this message
Author: Kirill Miazine
Date:  
To: Joseph Kezar
CC: exim-users
Subject: Re: [Exim] Command Execution
* Joseph Kezar <jkezar@???> [20020115 14:10]:
> > > > > I have set up a .filter file for a regular user.
> > > > > I want it to run a perl script on every incoming message to this user.
> > > > >
> > > > > I have in ~user/.forward
> > > > >
> > > > > # Exim Filter
> > > > > command = /usr/bin/test.pl
> > > >
> > > > # Exim filter
> > > > pipe /usr/bin/test.pl
> > >
> > > I changed it to say pipe instead. No I get this error in the logs
> > > unknown filtering command "/usr/bin/test.pl
> >
> > Please provide your userforward router and ~user/.forward.
>
> here is my userforward director
>
> userforward:
> driver = forwardfile
> file = .forward
> no_verify
> no_expn
> check_ancestor
> filter
> file_transport = address_file
> pipe_transport = address_pipe
> reply_transport = address_reply
> match_directory = !^/nonexistent
>
> and my ~user/.forward
> # Exim filter
>
> unseen pipe = "/usr/bin/test.pl"


You didn't follow my suggestion. Try again (no '=' !!):

# Exim filter
unseen pipe /usr/bin/test.pl

--
Kirill