diff options
Diffstat (limited to 'gnu/usr.sbin/sendmail/cf/feature/conncontrol.m4')
-rw-r--r-- | gnu/usr.sbin/sendmail/cf/feature/conncontrol.m4 | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/gnu/usr.sbin/sendmail/cf/feature/conncontrol.m4 b/gnu/usr.sbin/sendmail/cf/feature/conncontrol.m4 new file mode 100644 index 00000000000..1d460483942 --- /dev/null +++ b/gnu/usr.sbin/sendmail/cf/feature/conncontrol.m4 @@ -0,0 +1,36 @@ +divert(-1) +# +# Copyright (c) 2003, 2004 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(`$Sendmail: conncontrol.m4,v 1.4 2004/02/19 21:31:47 ca Exp $') + +divert(-1) +ifdef(`_ACCESS_TABLE_', ` + define(`_CONN_CONTROL_', `1') + ifelse(defn(`_ARG_'), `', `', + strcasecmp(defn(`_ARG_'), `nodelay'), `1', + `ifdef(`_DELAY_CHECKS_', + ` + define(`_CONN_CONTROL_IMMEDIATE_', `1') + define(`_CONTROL_IMMEDIATE_', `1') + ', + `errprint(`*** ERROR: FEATURE(`conncontrol', `nodelay') requires FEATURE(`delay_checks')')' + )', + `errprint(`*** ERROR: unknown parameter '"defn(`_ARG_')"` for FEATURE(`conncontrol')')') + define(`_FFR_SRCHLIST_A', `1') + ifelse(len(X`'_ARG2_), `1', `', + _ARG2_, `terminate', `define(`_CONN_CONTROL_REPLY', `421')', + `errprint(`*** ERROR: FEATURE(`conncontrol'): unknown argument '"_ARG2_" +)' + ) + ', `errprint(`*** ERROR: FEATURE(`conncontrol') requires FEATURE(`access_db') +')') +ifdef(`_CONN_CONTROL_REPLY',,`define(`_CONN_CONTROL_REPLY', `452')') |