1N/Adivert(-1)
1N/A#
1N/A# Copyright (c) 2004 Sendmail, Inc. and its suppliers.
1N/A# All rights reserved.
1N/A#
1N/A# By using this file, you agree to the terms and conditions set
1N/A# forth in the LICENSE file which can be found at the top level of
1N/A# the sendmail distribution.
1N/A#
1N/A# ident "%Z%%M% %I% %E% SMI"
1N/A#
1N/A
1N/Adivert(0)
1N/AVERSIONID(`$Id: greet_pause.m4,v 1.4 2004/07/06 20:49:51 ca Exp $')
1N/Adivert(-1)
1N/A
1N/Aifelse(len(X`'_ARG_),`1',`ifdef(`_ACCESS_TABLE_', `',
1N/A `errprint(`*** ERROR: FEATURE(`greet_pause') requires FEATURE(`access_db')
1N/A')')')
1N/A
1N/Adefine(`_GREET_PAUSE_', `')
1N/A
1N/ALOCAL_RULESETS
1N/A######################################################################
1N/A### greet_pause: lookup pause time before 220 greeting
1N/A###
1N/A### Parameters:
1N/A### $1: {client_name}
1N/A### $2: {client_addr}
1N/A######################################################################
1N/ASLocal_greet_pause
1N/ASgreet_pause
1N/AR$* $: <$1><?> $| $>"Local_greet_pause" $1
1N/AR<$*><?> $| $#$* $#$2
1N/AR<$*><?> $| $* $: $1
1N/Aifdef(`_ACCESS_TABLE_', `dnl
1N/AR$+ $| $+ $: $>D < $1 > <?> <! GreetPause> < $2 >
1N/AR $| $+ $: $>A < $1 > <?> <! GreetPause> <> empty client_name
1N/AR<?> <$+> $: $>A < $1 > <?> <! GreetPause> <> no: another lookup
1N/Aifelse(len(X`'_ARG_),`1',
1N/A`R<?> <$*> $@',
1N/A`R<?> <$*> $# _ARG_')
1N/AR<$* <TMPF>> <$*> $@
1N/AR<$+> <$*> $# $1',`dnl
1N/AR$* $# _ARG_')