summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2018-12-02 00:29:41 +0000
committerJeremy Harris <jgh146exb@wizmail.org>2018-12-02 01:10:23 +0000
commit06f37c802cbe477b2db358a0e76388d2df84691f (patch)
treead0078128cd02ad4c736a9b4e0fdc84c120448cd /src
parent67ea939cf0873497e9b8aaa8e21163621cc869df (diff)
More debug in smtp transport
Diffstat (limited to 'src')
-rw-r--r--src/src/transports/smtp.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/src/transports/smtp.c b/src/src/transports/smtp.c
index eb596dfe6..96d694fcc 100644
--- a/src/src/transports/smtp.c
+++ b/src/src/transports/smtp.c
@@ -5298,6 +5298,17 @@ retry_non_continued:
"hosts_max_try (message older than host's retry time)\n");
}
}
+
+ DEBUG(D_transport)
+ {
+ if (unexpired_hosts_tried >= ob->hosts_max_try)
+ debug_printf("reached transport hosts_max_try limit %d\n",
+ ob->hosts_max_try);
+ if (total_hosts_tried >= ob->hosts_max_try_hardlimit)
+ debug_printf("reached transport hosts_max_try_hardlimit limit %d\n",
+ ob->hosts_max_try_hardlimit);
+ }
+
if (f.running_in_test_harness) millisleep(500); /* let server debug out */
} /* End of loop for trying multiple hosts. */