Re: [exim] How to execute a php script if delivery mail fail…

Página Principal
Apagar esta mensagem
Responder a esta mensagem
Autor: Ian Eiloart
Data:  
Para: exim-users
Assunto: Re: [exim] How to execute a php script if delivery mail failed


--On 24 July 2006 11:12:49 -0700 Michalski Luc <contact@???>
wrote:

>
> Hi,
>
> The main problem is that I ve 4 databases ( One for each countries ) and
> if I want to delete the right email in the right database I need to cross
> it with a PHP Script...
>
> But what is the command syntax for calling a script when a message
> delivery failed ?
> What should I write in the exim.conf ?


You want to use $run:

${run{<command> <args>}{<string1>}{<string2>}}

See page 101 of spec.pdf <http://www.exim.org/exim-pdf-4.62/doc/spec.pdf>




--
Ian Eiloart
IT Services, University of Sussex