summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2019-05-21 21:32:34 +0100
committerJeremy Harris <jgh146exb@wizmail.org>2019-05-26 00:05:27 +0100
commit48519cef815997302bbb0f8c4499ecf4ae9ef446 (patch)
tree65f89ab002213c8ab7bf9538a3d5c7b15272dd84 /src
parentb471ea6f02d5cf413b8bee686a668a07c9746620 (diff)
Logging: fix duplicated transport target info under TFO
Diffstat (limited to 'src')
-rw-r--r--src/src/transports/smtp.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/src/transports/smtp.c b/src/src/transports/smtp.c
index aed80cae9..128ac9a35 100644
--- a/src/src/transports/smtp.c
+++ b/src/src/transports/smtp.c
@@ -590,6 +590,10 @@ switch(*errno_value)
transport_count);
return FALSE;
+ case ECONNREFUSED: /* First-read error on a TFO conn */
+ if (verify_mode) *message = US strerror(*errno_value);
+ return FALSE; /* nonverify, do not set message */
+
case ERRNO_SMTPFORMAT: /* Handle malformed SMTP response */
s = string_printing(buffer);
while (isspace(*s)) s++;