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

Pàgina inicial
Delete this message
Reply to this message
Autor: W B Hacker
Data:  
A: exim users
Assumpte: 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


Exim can be made to do just about anything codable, but a chron'ed MySQL script
tool would be simpler than anything in PHP, as it is not html pages you want to
create, but simple DB pruning. That can run against the account in which the
bounces arrive - need not otherwise have any link to Exim.

But you are starting to reinvent Ecartis, MailMan, or other MLM of your choice -
as one 'challenge' solved just leads to the next.

MLM have very good and highly configurable handling of permanent/temporarily
unavailable addresses, (full mailbox, vacation, 4th bounce in 14 days, else
reset, etc.) - plus satisfying the often legally-mandated list identification
and unsubscribe stuff.

Way easier and more secure to install and configure an MLM, even for a small
newsletter, than to learn to craft bespoke code - php or otherwise, to duplicate
functions they already have.

JM2CW

Bill