diff options
author | Dirk Meyer <dinoex@FreeBSD.org> | 2023-12-29 22:23:07 +0000 |
---|---|---|
committer | Dirk Meyer <dinoex@FreeBSD.org> | 2023-12-29 22:27:29 +0000 |
commit | 4281b33b63ee7666da9177cefd1c55e08a74e034 (patch) | |
tree | d4a10b6412730c134a9fe3c0493131468ba6d144 /mail/sendmail-devel/files/patch-cfproto.m4 | |
parent | a2405c51ca2cf6f0e633f6b8cd4839e68ba1b865 (diff) | |
download | ports-4281b33b63ee7666da9177cefd1c55e08a74e034.tar.gz ports-4281b33b63ee7666da9177cefd1c55e08a74e034.zip |
l/sendmaili-devel: Fix MTA-STS support, to local-deliverable with MTA-STS enabled
PR: 275996
Submitted by: Hiroki Sato
Submitted by: Norikatsu Shigemura
Diffstat (limited to 'mail/sendmail-devel/files/patch-cfproto.m4')
-rw-r--r-- | mail/sendmail-devel/files/patch-cfproto.m4 | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/mail/sendmail-devel/files/patch-cfproto.m4 b/mail/sendmail-devel/files/patch-cfproto.m4 new file mode 100644 index 000000000000..be4f25c23264 --- /dev/null +++ b/mail/sendmail-devel/files/patch-cfproto.m4 @@ -0,0 +1,24 @@ +--- cf/m4/proto.m4.orig 2023-10-27 05:47:26 UTC ++++ cf/m4/proto.m4 +@@ -2912,10 +2912,6 @@ R$* $| $#$* $#$2 + R$* $| $* $: $1', `dnl') + ifdef(`_TLS_FAILURES_',`dnl + R$* $: $(macro {saved_verify} $@ $1 $) $1') +-ifdef(`_MTA_STS_', `dnl +-R$* $: $1 $| $>"STS_secure" $1 +-R$* $| $#$* $#$2 +-R$* $| $* $: $1', `dnl') + ifdef(`_ACCESS_TABLE_', `dnl + dnl store name of other side + R$* $: $(macro {TLS_Name} $@ $&{server_name} $) $1 +@@ -2923,6 +2919,10 @@ R$* $: $1 $| $>D <$&{server_name}> <?> <! TLS_SRV_TAG + R$* $| <?>$* $: $1 $| $>A <$&{server_addr}> <?> <! TLS_SRV_TAG> <> + dnl do a default lookup: just TLS_SRV_TAG + R$* $| <?>$* $: $1 $| <$(access TLS_SRV_TAG`'_TAG_DELIM_ $: ? $)> ++ifdef(`_MTA_STS_', `dnl ++R$* $: $1 $| $>"STS_secure" $1 ++R$* $| $#$* $#$2 ++R$* $| $* $: $1', `dnl') + ifdef(`_ATMPF_', `dnl tempfail? + R$* $| <$* _ATMPF_> $#error $@ 4.3.0 $: _TMPFMSG_(`TS')', `dnl') + R$* $@ $>"TLS_connection" $1', `dnl |