diff options
author | Philip Hazel <ph10@hermes.cam.ac.uk> | 2005-01-12 15:41:27 +0000 |
---|---|---|
committer | Philip Hazel <ph10@hermes.cam.ac.uk> | 2005-01-12 15:41:27 +0000 |
commit | 6729cf789b50c427ecaf60fe1cf1b486ee9a71a8 (patch) | |
tree | 006feed78e47f67c35b0c0258f4a9242bf30e6c2 /src | |
parent | 2f6603e10b49b7fe0f23d1e810f5b43b5ddae3e8 (diff) |
Use "system" message for $acl_verify_message if there is no "user"
message.
Diffstat (limited to 'src')
-rw-r--r-- | src/src/acl.c | 6 | ||||
-rw-r--r-- | src/src/verify.c | 4 |
2 files changed, 6 insertions, 4 deletions
diff --git a/src/src/acl.c b/src/src/acl.c index fb8590132..f7a551b74 100644 --- a/src/src/acl.c +++ b/src/src/acl.c @@ -1,4 +1,4 @@ -/* $Cambridge: exim/src/src/acl.c,v 1.16 2005/01/12 14:41:12 ph10 Exp $ */ +/* $Cambridge: exim/src/src/acl.c,v 1.17 2005/01/12 15:41:27 ph10 Exp $ */ /************************************************* * Exim - an Internet mail transport agent * @@ -1345,8 +1345,10 @@ else rc = verify_address(&addr2, NULL, verify_options|vopt_is_recipient, callout, callout_overall, callout_connect, se_mailfrom, pm_mailfrom, NULL); HDEBUG(D_acl) debug_printf("----------- end verify ------------\n"); + *log_msgptr = addr2.message; - *user_msgptr = addr2.user_message; + *user_msgptr = (addr2.user_message != NULL)? + addr2.user_message : addr2.message; *basic_errno = addr2.basic_errno; /* Make $address_data visible */ diff --git a/src/src/verify.c b/src/src/verify.c index a673c8c19..f5f6b5d32 100644 --- a/src/src/verify.c +++ b/src/src/verify.c @@ -1,4 +1,4 @@ -/* $Cambridge: exim/src/src/verify.c,v 1.11 2005/01/12 14:47:42 ph10 Exp $ */ +/* $Cambridge: exim/src/src/verify.c,v 1.12 2005/01/12 15:41:27 ph10 Exp $ */ /************************************************* * Exim - an Internet mail transport agent * @@ -1100,7 +1100,7 @@ while (addr_new != NULL) want to continue to verify the new child. */ if (rc == REROUTED) continue; - + /* Handle hard failures */ if (rc == FAIL) |