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

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Jasen Betts
Fecha:  
A: exim-dev
Asunto: [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