Fix callouts connection fallback from TLS to cleartext. Bug 1897
[exim.git] / src / src / transports / smtp.c
index ecdb8bf26764d30c51f824e71a04ef59ef112301..f506a75d65eb94736f5b5e755180b82a9cfb4b93 100644 (file)
@@ -1948,12 +1948,9 @@ if (  smtp_peer_options & PEER_OFFERED_TLS
     if (rc != OK)
       {
 # ifdef EXPERIMENTAL_DANE
-      if (rc == DEFER && lflags.dane)
-       {
-       log_write(0, LOG_MAIN,
+      if (lflags.dane) log_write(0, LOG_MAIN,
          "DANE attempt failed; no TLS connection to %s [%s]",
          host->name, host->address);
-       }
 # endif
 
       save_errno = ERRNO_TLSFAILURE;