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

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Ian Eiloart
Ημερομηνία:  
Προς: exim-users
Αντικείμενο: 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