aboutsummaryrefslogtreecommitdiff
path: root/sendmail/cf/feature/delay_checks.m4
diff options
context:
space:
mode:
Diffstat (limited to 'sendmail/cf/feature/delay_checks.m4')
-rw-r--r--sendmail/cf/feature/delay_checks.m425
1 files changed, 25 insertions, 0 deletions
diff --git a/sendmail/cf/feature/delay_checks.m4 b/sendmail/cf/feature/delay_checks.m4
new file mode 100644
index 000000000000..151df956668f
--- /dev/null
+++ b/sendmail/cf/feature/delay_checks.m4
@@ -0,0 +1,25 @@
+divert(-1)
+#
+# Copyright (c) 1999-2000 Sendmail, Inc. and its suppliers.
+# 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(`$Id: delay_checks.m4,v 8.8 2000/12/05 18:50:45 ca Exp $')
+divert(-1)
+
+define(`_DELAY_CHECKS_', 1)
+ifelse(defn(`_ARG_'), `', `',
+ lower(substr(_ARG_,0,1)), `f', `define(`_SPAM_FRIEND_', 1) define(`_SPAM_FH_', 1)',
+ lower(substr(_ARG_,0,1)), `h', `define(`_SPAM_HATER_', 1) define(`_SPAM_FH_', 1)',
+ `errprint(`*** ERROR: illegal argument _ARG_ for FEATURE(delay_checks)
+')
+ ')
+
+dnl be backward compatible by default
+ifelse(len(X`'_ARG2_), `1', `define(`_DELAY_COMPAT_8_10_', 1)', `')