From 6729cf789b50c427ecaf60fe1cf1b486ee9a71a8 Mon Sep 17 00:00:00 2001 From: Philip Hazel Date: Wed, 12 Jan 2005 15:41:27 +0000 Subject: Use "system" message for $acl_verify_message if there is no "user" message. --- src/src/acl.c | 6 ++++-- src/src/verify.c | 4 ++-- 2 files changed, 6 insertions(+), 4 deletions(-) (limited to 'src') 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) -- cgit v1.2.3