[exim-dev] TPDA patch - event for deferred messages.

Góra strony
Delete this message
Reply to this message
Autor: Jasen Betts
Data:  
Dla: exim-dev
Temat: [exim-dev] TPDA patch - event for deferred messages.
I want a TPDA event for messages deferred during delivery, so I made
this addition.

diff --git a/src/src/deliver.c b/src/src/deliver.c
index 78b669a..227584a 100644
--- a/src/src/deliver.c
+++ b/src/src/deliver.c
@@ -1269,6 +1269,11 @@ else if (result == DEFER || result == PANIC)
     /* Write the main log and reset the store */


     log_write(use_log_selector, logflags, "== %s", s);
+
+#ifdef EXPERIMENTAL_TPDA
+    tpda_msg_event(US"msg:defer:delivery", addr);
+#endif
+
     store_reset(reset_point);
     }
   }



--
umop apisdn