From: Wietse Venema
The LMTP-specific version of the smtp_dns_support_level +
The LMTP-specific version of the smtp_address_verify_target configuration parameter. See there for details.
This feature is available in Postfix 3.0 and later.
diff --git a/postfix/man/man5/postconf.5 b/postfix/man/man5/postconf.5 index 4c0309161..285d323c2 100644 --- a/postfix/man/man5/postconf.5 +++ b/postfix/man/man5/postconf.5 @@ -2473,7 +2473,7 @@ configuration parameter. See there for details. .PP This feature is available in Postfix 2.8 and later. .SH lmtp_address_verify_target (default: rcpt) -The LMTP\-specific version of the smtp_dns_support_level +The LMTP\-specific version of the smtp_address_verify_target configuration parameter. See there for details. .PP This feature is available in Postfix 3.0 and later. diff --git a/postfix/proto/postconf.proto b/postfix/proto/postconf.proto index e8f20662e..004588afa 100644 --- a/postfix/proto/postconf.proto +++ b/postfix/proto/postconf.proto @@ -15432,7 +15432,7 @@ SMTP/LMTP servers. %PARAM lmtp_address_verify_target rcpt -The LMTP-specific version of the smtp_dns_support_level +
The LMTP-specific version of the smtp_address_verify_target configuration parameter. See there for details.
This feature is available in Postfix 3.0 and later.
diff --git a/postfix/src/global/mail_version.h b/postfix/src/global/mail_version.h index 2a7aca542..33bca0029 100644 --- a/postfix/src/global/mail_version.h +++ b/postfix/src/global/mail_version.h @@ -20,8 +20,8 @@ * Patches change both the patchlevel and the release date. Snapshots have no * patchlevel; they change the release date only. */ -#define MAIL_RELEASE_DATE "20151010" -#define MAIL_VERSION_NUMBER "3.0.3" +#define MAIL_RELEASE_DATE "20160221" +#define MAIL_VERSION_NUMBER "3.0.4" #ifdef SNAPSHOT #define MAIL_VERSION_DATE "-" MAIL_RELEASE_DATE diff --git a/postfix/src/smtp/smtp_proto.c b/postfix/src/smtp/smtp_proto.c index e55110895..43d8359b9 100644 --- a/postfix/src/smtp/smtp_proto.c +++ b/postfix/src/smtp/smtp_proto.c @@ -935,12 +935,23 @@ static int smtp_start_tls(SMTP_STATE *state) * authentication. If the server doesn't announce SASL support over * plaintext connections, then we don't want delivery to fail with * "relay access denied". + * + * If TLS is opportunistic, don't throttle the destination, otherwise if + * the mail is volume is high enough we may have difficulty ever + * draining even the deferred mail, as new mail provides a constant + * stream of negative feedback. */ if (PLAINTEXT_FALLBACK_OK_AFTER_STARTTLS_FAILURE) RETRY_AS_PLAINTEXT; - return (smtp_site_fail(state, DSN_BY_LOCAL_MTA, - SMTP_RESP_FAKE(&fake, "4.7.5"), - "Cannot start TLS: handshake failure")); + if (state->tls->level == TLS_LEV_MAY) { + return (smtp_mesg_fail(state, DSN_BY_LOCAL_MTA, + SMTP_RESP_FAKE(&fake, "4.7.5"), + "Cannot start TLS: handshake failure")); + } else { + return (smtp_site_fail(state, DSN_BY_LOCAL_MTA, + SMTP_RESP_FAKE(&fake, "4.7.5"), + "Cannot start TLS: handshake failure")); + } } /*