diff options
author | Philip Hazel <ph10@hermes.cam.ac.uk> | 2005-04-06 14:03:53 +0000 |
---|---|---|
committer | Philip Hazel <ph10@hermes.cam.ac.uk> | 2005-04-06 14:03:53 +0000 |
commit | 475fe28a6a039803d280266e29e755a603d1dfe7 (patch) | |
tree | 68d903ff7f57e05606f09962e723df34d169ebdd /src | |
parent | bebaf0fc16f62691e9b05a939cb83947f4c5e415 (diff) |
Make $acl_verify_message available in following conditions and modifiers
in an ACL statement, not just when expanding message and log_message.
Diffstat (limited to 'src')
-rw-r--r-- | src/src/acl.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/src/acl.c b/src/src/acl.c index 1d20ff7c7..c0a5e944f 100644 --- a/src/src/acl.c +++ b/src/src/acl.c @@ -1,4 +1,4 @@ -/* $Cambridge: exim/src/src/acl.c,v 1.27 2005/04/05 13:58:35 ph10 Exp $ */ +/* $Cambridge: exim/src/src/acl.c,v 1.28 2005/04/06 14:03:53 ph10 Exp $ */ /************************************************* * Exim - an Internet mail transport agent * @@ -2099,10 +2099,13 @@ for (; cb != NULL; cb = cb->next) /* If the verb is WARN, discard any user message from verification, because such messages are SMTP responses, not header additions. The latter come - only from explicit "message" modifiers. */ + only from explicit "message" modifiers. However, put the user message into + $acl_verify_message so it can be used in subsequent conditions or modifiers + (until something changes it). */ case ACLC_VERIFY: rc = acl_verify(where, addr, arg, user_msgptr, log_msgptr, basic_errno); + acl_verify_message = *user_msgptr; if (verb == ACL_WARN) *user_msgptr = NULL; break; |