[quote:8630d30c97][i:8630d30c97]Originally posted by Juanra[/i:8630d30c97]
[quote:8630d30c97][i:8630d30c97]Originally posted by (SH)Saeed[/i:8630d30c97]
We have this customer that is complaining because he says the undelivered emails are routed to nobody and not back to him so he and his users doesn't know what emails that have failed to deliver. I was thinking about setting up a script that checked the failed delivery emails and forwards them to the right person instead of messing with Exim. What do you guys think?[/quote:8630d30c97]
Since the -f flag that Moronhead talked about can't be set when safe_mode is on (afaik), I've written an Exim filter which could do the trick:
http://html.conclase.net/cp/scripts/2somebody.txt
Your comments are very welcome.[/quote:8630d30c97]
Juanra, I put in the new .forward but I'm getting some errors.
defer (-11): error in forward file: missing or malformed local part (expected word or &&&

in &if first_delivery then&
Return to Mail Queue
Any idea? I followed the instructions to the letter.