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.
10 # ident "%Z%%M% %I% %E% SMI"
14 VERSIONID(`$Id: greet_pause.m4,v 1.4 2004/07/06 20:49:51 ca Exp $')
17 ifelse(len(X`'_ARG_),`1',`ifdef(`_ACCESS_TABLE_', `',
18 `errprint(`*** ERROR: FEATURE(`greet_pause') requires FEATURE(`access_db')
21 define(`_GREET_PAUSE_', `')
24 ######################################################################
25 ### greet_pause: lookup pause time before 220 greeting
30 ######################################################################
33 R$* $: <$1><?> $| $>"Local_greet_pause" $1
36 ifdef(`_ACCESS_TABLE_', `dnl
37 R$+ $| $+ $: $>D < $1 > <?> <! GreetPause> < $2 >
38 R $| $+ $: $>A < $1 > <?> <! GreetPause> <> empty client_name
39 R<?> <$+> $: $>A < $1 > <?> <! GreetPause> <> no: another lookup
40 ifelse(len(X`'_ARG_),`1',
44 R<$+> <$*> $# $1',`dnl