summaryrefslogtreecommitdiff
path: root/debian/patches/patch.dont_masquerade_local
diff options
context:
space:
mode:
authorRichard A Nelson (Rick) <cowboy@debian.org>2000-05-25 17:00:00 -0500
committerAndreas Beckmann <debian@abeckmann.de>2012-10-01 19:58:40 +0200
commite138436bd1943587e16b03505f8b8cc0307c4211 (patch)
tree23d7165ea5ea99bb43ae1568f4b74d5e59a3bddb /debian/patches/patch.dont_masquerade_local
parent4e2c4cdcd62c4ab1d5e884e8afaa0bbe1b981e42 (diff)
downloadsendmail-debian/8.9.3-23.tar.gz
Imported Debian patch 8.9.3-23debian/8.9.3-23
Diffstat (limited to 'debian/patches/patch.dont_masquerade_local')
-rw-r--r--debian/patches/patch.dont_masquerade_local39
1 files changed, 39 insertions, 0 deletions
diff --git a/debian/patches/patch.dont_masquerade_local b/debian/patches/patch.dont_masquerade_local
new file mode 100644
index 0000000..f4484b9
--- /dev/null
+++ b/debian/patches/patch.dont_masquerade_local
@@ -0,0 +1,39 @@
+diff -cr ../../cf/mailer/local.m4 local.m4
+*** ../../cf/mailer/local.m4 Thu Apr 22 18:23:05 1999
+--- local.m4 Thu Apr 22 18:40:37 1999
+***************
+*** 39,45 ****
+ R<@> $n errors to mailer-daemon
+ R@ <@ $*> $n temporarily bypass Sun bogosity
+ R$+ $: $>50 $1 add local domain if needed
+! R$* $: $>94 $1 do masquerading
+
+ #
+ # Envelope recipient rewriting
+--- 39,46 ----
+ R<@> $n errors to mailer-daemon
+ R@ <@ $*> $n temporarily bypass Sun bogosity
+ R$+ $: $>50 $1 add local domain if needed
+! ifdef(`_DONT_MASQUERADE_LOCAL_', `dnl', `dnl
+! R$* $: $>94 $1 do masquerading')
+
+ #
+ # Envelope recipient rewriting
+***************
+*** 54,60 ****
+ R<@> $n errors to mailer-daemon
+ R@ <@ $*> $n temporarily bypass Sun bogosity
+ R$+ $: $>50 $1 add local domain if needed
+! R$* $: $>93 $1 do masquerading
+
+ #
+ # Header recipient rewriting
+--- 55,62 ----
+ R<@> $n errors to mailer-daemon
+ R@ <@ $*> $n temporarily bypass Sun bogosity
+ R$+ $: $>50 $1 add local domain if needed
+! ifdef(`_DONT_MASQUERADE_LOCAL_', `dnl', `dnl
+! R$* $: $>93 $1 do masquerading')
+
+ #
+ # Header recipient rewriting