On 24/08/14 08:01, Jasen Betts wrote: >>> and also the other terminal non-completions like "cancelled by admin" >> >> I'll need to look into that - exactly who is providing that message; >> is it the receiving MTA rejecting the message? Agreed we need the >> facility for them.
I've coded this up, though I'm not sold on the architecture or the exact names I picked: - a main config option "delivery_fail_event", string, expansion just like the per-transport TPDA one - an event "msg:fail:internal" with $tpda_data (for this specific case) "delivery cancelled by administrator" and also-useful variable $address_data with the recipient address. The event is also raised for system-filter fails, message-timeouts. - another event "msg:fail:delivery" for the per-transport expansion raised for permanent rejects from the target system -- Cheers, Jeremy -- ## List details at https://lists.exim.org/mailman/listinfo/exim-users ## Exim details at http://www.exim.org/ ## Please use the Wiki with this list - http://wiki.exim.org/
