Autor: contact Data: Dla: exim-users Temat: [exim] How to write a condition allowing to
Hello,
I'd like to create a router in the exim.conf allowing me to execute a file if I receive the following error messages :
- The email boxe of the user which I send an email is full
- The email doesn t exist any more
Can you help me to built the condition ? I am scratching my head since yesterday and I need really some help...
Create a script like that /usr/local/bin/prune.pl :
Code:
#!/usr/bin/perl
my $invalid_address = $ENV{RECIPIENT};
## Connection à mysql et destruction de l'adresse $invalid_address
exit 1;