Re: [exim] pipe command in user filter - pleas help!

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Philip Hazel
Fecha:  
A: Swantje & Michael Ludwig
Cc: exim-users
Asunto: Re: [exim] pipe command in user filter - pleas help!
On Sat, 11 Sep 2004, Swantje & Michael Ludwig wrote:

> So I tested with this command and a test mail and finally I got
> this in the debug:
>
> =====================================
> After routing:
>   Local deliveries:
>     michi@???
>     |/admin/myscript.sh $message_id
>     /tmp/1C677t-0005wx-W8
>   Remote deliveries:
>   Failed addresses:
>   Deferred addresses:
> search_tidyup called
> =====================================


That shows the routing, and what is going to happen. No deliveries have
happened yet.

> To me that seems as exim saved the file as expected in the /tmp
> directory, but didn't expand the variable "$message_id" in the
> piping command.


No. It has not got that far yet! It has done the routing, but it has not
yet done any deliveries. Further down the debug output it will show the
deliveries, and *then* it will expand the data and run the pipe.

-- 
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.
Get the Exim 4 book:    http://www.uit.co.uk/exim-book