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

Top Page
Delete this message
Reply to this message
Author: Ian P. Christian
Date:  
To: Michalski Luc
CC: exim-users
Subject: Re: [exim] How to execute a php script if delivery mail failed
Michalski Luc wrote:
> Hello,
>
> I d like to delete from my website database all emails for which exim sent
> me a delivery failure notification when I sent a newsletter...
>
> I am not a specialist of exim but I guess that the way of filtering that is
> to execute a php script ( because my website is written in php and have an
> interaction with a mysql database ) with exim...
>
> How can I do that ?
>
> Thanks in advance...
>
> Cheers
> DG



when you mail out, mail out from with a return path such as:
(assuming you were emailing me...)

pookey=pookey.co.uk=$hash@???

$hash could be a hash of the id in your database along with the users
email address and a private 'password'.

then use a router to pipe these NDAs into your PHP script.

--
Ian P. Christian ~ http://pookey.co.uk