Events: add recipient-deferred events, both per-host and all-hosts.
[exim.git] / src / src / acl.c
index 064ee6ccbc3f12c85f693b7847ddc6edf9baa2b8..911ecfed2ae10b9dac2250a7e39c653e9c1a2ef5 100644 (file)
@@ -3743,7 +3743,12 @@ for (; cb != NULL; cb = cb->next)
     case ACLC_SET:
       {
       int old_pool = store_pool;
-      if (cb->u.varname[0] == 'c') store_pool = POOL_PERM;
+      if (  cb->u.varname[0] == 'c'
+#ifdef EXPERIMENTAL_EVENT
+        || event_name          /* An event is being delivered */
+#endif
+        )
+        store_pool = POOL_PERM;
       acl_var_create(cb->u.varname)->data.ptr = string_copy(arg);
       store_pool = old_pool;
       }