aboutsummaryrefslogtreecommitdiffstats
path: root/mail/sendmail/files
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2014-08-15 00:37:21 +0800
committerdinoex <dinoex@FreeBSD.org>2014-08-15 00:37:21 +0800
commita07c225f7aea6f975c842c253bbfd5b92ddae98d (patch)
tree8ce8671e361b3450421896a88645385b1729c4ce /mail/sendmail/files
parent75d834ceea106a8aa6c1f0afee741aac6039579e (diff)
downloadfreebsd-ports-gnome-a07c225f7aea6f975c842c253bbfd5b92ddae98d.tar.gz
freebsd-ports-gnome-a07c225f7aea6f975c842c253bbfd5b92ddae98d.tar.zst
freebsd-ports-gnome-a07c225f7aea6f975c842c253bbfd5b92ddae98d.zip
- enable options TLS SASL SASLAUTHD by default
- new option TLSEXT_PADDING The port disables TLSEXT_PADDING by default. This fixes "TLS handshake failed" errors when sending to Ironport appliances.
Diffstat (limited to 'mail/sendmail/files')
-rw-r--r--mail/sendmail/files/tlsext.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/mail/sendmail/files/tlsext.patch b/mail/sendmail/files/tlsext.patch
new file mode 100644
index 000000000000..dc6b0eb89170
--- /dev/null
+++ b/mail/sendmail/files/tlsext.patch
@@ -0,0 +1,13 @@
+--- sendmail/readcf.c.orig 2014-05-16 22:40:15.000000000 +0200
++++ sendmail/readcf.c 2014-08-14 18:05:59.000000000 +0200
+@@ -124,6 +124,10 @@
+ | SSL_OP_NO_TICKET
+ #endif
+ ;
++#ifdef SSL_OP_TLSEXT_PADDING
++ Srv_SSL_Options &= ~SSL_OP_TLSEXT_PADDING;
++ Clt_SSL_Options &= ~SSL_OP_TLSEXT_PADDING;
++#endif
+ #endif /* STARTTLS */
+ if (DontLockReadFiles)
+ sff |= SFF_NOLOCK;