summaryrefslogtreecommitdiff
path: root/debian/local/local_no_masquerade.m4
diff options
context:
space:
mode:
Diffstat (limited to 'debian/local/local_no_masquerade.m4')
-rw-r--r--debian/local/local_no_masquerade.m425
1 files changed, 25 insertions, 0 deletions
diff --git a/debian/local/local_no_masquerade.m4 b/debian/local/local_no_masquerade.m4
new file mode 100644
index 0000000..5c8a693
--- /dev/null
+++ b/debian/local/local_no_masquerade.m4
@@ -0,0 +1,25 @@
+divert(-1)
+#-----------------------------------------------------------------------------
+# $Sendmail: ./local_no_masquerade,v 8.9.3 1999/10/20 12:00:00 cowboy Exp $
+#
+# Copyright (c) 1999-2001 Richard Nelson. All Rights Reserved.
+#
+# feature(local_no_masquerade) config file for building Sendmail
+#
+# Prevent masquerading of local senders when sending to local recipients
+# used by: mailer/local.m4
+#
+# Note: I originally called this `dont_masquerade_local', but have since
+# changed the name to correspond with what Sendmail 8.12.0 supports.
+# The local patches to cf/mailer/local.m4 remain unaltered.
+#
+#-----------------------------------------------------------------------------
+#
+divert(0)
+VERSIONID(`@(#)local_no_masquerade.m4 1.0 (Debian) 1999-10-20')
+divert(-1)
+
+ifdef(`_MAILER_local_',
+ `errprint(`*** FEATURE(local_no_masquerade) must occur before MAILER(local)')')dnl
+
+define(`_DONT_MASQUERADE_LOCAL_', 1)dnl