On Wed, May 07, 2014 at 12:26:09AM -0400, Sahil Tandon wrote:
> > I cannot say definitively without more complete log analysis, but that
> > is my hunch. And, the issue does not seem to occur as a result of the
> > initial cleartext fallback, but later ... once on-demand caching has
> > kicked in.
>
> I will parse the last few days worth of logs to verify this, and then
> follow-up. No need to waste any more time than you already have on this
> "hunch".
I think the problem is a bit more broad, TLS fallback is just one
modality. The below is I believe a priority fix for 2.11.0 and
all 2.12 snapshots. The patched code should not exhibit the reported
symptoms.
diff --git a/postfix/src/smtp/smtp.h b/postfix/src/smtp/smtp.h
index ee9e506..e966ff6 100644
--- a/postfix/src/smtp/smtp.h
+++ b/postfix/src/smtp/smtp.h
@@ -195,7 +195,7 @@ typedef struct SMTP_STATE {
STR((state)->iterator->request_nexthop)[0] = 0; \
}
-#define HAVE_NEXTHOP_STATE(state) (STR((state)->iterator->request_nexthop) !=
0)
+#define HAVE_NEXTHOP_STATE(state) (STR((state)->iterator->request_nexthop)[0]
!= 0)
/*
--
Viktor.