3 # Copyright (c) 2004 Sendmail, Inc. and its suppliers.
6 # By using this file, you agree to the terms and conditions set
7 # forth in the LICENSE file which can be found at the top level of
8 # the sendmail distribution.
13 VERSIONID(`$Id: greet_pause.m4,v 1.4 2004/07/06 20:49:51 ca Exp $')
16 ifelse(len(X`'_ARG_),`1',`ifdef(`_ACCESS_TABLE_', `',
17 `errprint(`*** ERROR: FEATURE(`greet_pause') requires FEATURE(`access_db')
20 define(`_GREET_PAUSE_', `')
23 ######################################################################
24 ### greet_pause: lookup pause time before 220 greeting
29 ######################################################################
32 R$* $: <$1><?> $| $>"Local_greet_pause" $1
35 ifdef(`_ACCESS_TABLE_', `dnl
36 R$+ $| $+ $: $>D < $1 > <?> <! GreetPause> < $2 >
37 R $| $+ $: $>A < $1 > <?> <! GreetPause> <> empty client_name
38 R<?> <$+> $: $>A < $1 > <?> <! GreetPause> <> no: another lookup
39 ifelse(len(X`'_ARG_),`1',
43 R<$+> <$*> $# $1',`dnl