X-Git-Url: https://git.exim.org/users/jgh/exim.git/blobdiff_plain/e51462229029e40afa0932dd9c6337192a0dc70b..cf0c61644d7dd2dfb29f6418d95bf4d8cae199ea:/src/src/verify.c diff --git a/src/src/verify.c b/src/src/verify.c index 9c4776b31..a152a8f24 100644 --- a/src/src/verify.c +++ b/src/src/verify.c @@ -690,9 +690,9 @@ tls_retry_connection: && verify_check_given_host(&ob->hosts_require_tls, host) != OK ) { - log_write(0, LOG_MAIN, "TLS session failure:" - " callout unencrypted to %s [%s] (not in hosts_require_tls)", - host->name, host->address); + log_write(0, LOG_MAIN, + "%s: callout unencrypted to %s [%s] (not in hosts_require_tls)", + addr->message, host->name, host->address); addr->transport_return = PENDING_DEFER; yield = smtp_setup_conn(&sx, TRUE); } @@ -730,8 +730,7 @@ tls_retry_connection: sx.send_rset = TRUE; sx.completed_addr = FALSE; - new_domain_record.result = - old_domain_cache_result == ccache_reject_mfnull + new_domain_record.result = old_domain_cache_result == ccache_reject_mfnull ? ccache_reject_mfnull : ccache_accept; /* Do the random local part check first. Temporarily replace the recipient