aboutsummaryrefslogtreecommitdiff
path: root/contrib/sendmail/cf/hack/cssubdomain.m4
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/sendmail/cf/hack/cssubdomain.m4')
-rw-r--r--contrib/sendmail/cf/hack/cssubdomain.m422
1 files changed, 22 insertions, 0 deletions
diff --git a/contrib/sendmail/cf/hack/cssubdomain.m4 b/contrib/sendmail/cf/hack/cssubdomain.m4
new file mode 100644
index 000000000000..b79b69b5b119
--- /dev/null
+++ b/contrib/sendmail/cf/hack/cssubdomain.m4
@@ -0,0 +1,22 @@
+divert(-1)
+#
+# Copyright (c) 1998 Sendmail, Inc. All rights reserved.
+# Copyright (c) 1983 Eric P. Allman. All rights reserved.
+# Copyright (c) 1988, 1993
+# The Regents of the University of California. All rights reserved.
+#
+# By using this file, you agree to the terms and conditions set
+# forth in the LICENSE file which can be found at the top level of
+# the sendmail distribution.
+#
+#
+divert(0)
+VERSIONID(`@(#)cssubdomain.m4 8.6 (Berkeley) 5/19/98')
+
+divert(2)
+# find possible (old & new) versions of our name via short circuit hack
+# (this code should exist ONLY during the transition from .Berkeley.EDU
+# names to .CS.Berkeley.EDU names -- probably not more than a few months)
+R$* < @ $=w .CS.Berkeley.EDU > $* $: $1 < @ $j > $3
+R$* < @ $=w .Berkeley.EDU> $* $: $1 < @ $j > $3
+divert(0)