ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/src/vendor/sendmail/8.15.2/cf/feature/greet_pause.m4
Revision: 9096
Committed: Sat Oct 1 11:54:30 2016 UTC (7 years, 7 months ago) by laffer1
File size: 1256 byte(s)
Log Message:
tag 8.15.2

File Contents

# Content
1 divert(-1)
2 #
3 # Copyright (c) 2004 Proofpoint, Inc. and its suppliers.
4 # All rights reserved.
5 #
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.
9 #
10 #
11
12 divert(0)
13 VERSIONID(`$Id: greet_pause.m4,v 1.5 2013-11-22 20:51:11 ca Exp $')
14 divert(-1)
15
16 ifelse(len(X`'_ARG_),`1',`ifdef(`_ACCESS_TABLE_', `',
17 `errprint(`*** ERROR: FEATURE(`greet_pause') requires FEATURE(`access_db')
18 ')')')
19
20 define(`_GREET_PAUSE_', `')
21
22 LOCAL_RULESETS
23 ######################################################################
24 ### greet_pause: lookup pause time before 220 greeting
25 ###
26 ### Parameters:
27 ### $1: {client_name}
28 ### $2: {client_addr}
29 ######################################################################
30 SLocal_greet_pause
31 Sgreet_pause
32 R$* $: <$1><?> $| $>"Local_greet_pause" $1
33 R<$*><?> $| $#$* $#$2
34 R<$*><?> $| $* $: $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',
40 `R<?> <$*> $@',
41 `R<?> <$*> $# _ARG_')
42 R<$* <TMPF>> <$*> $@
43 R<$+> <$*> $# $1',`dnl
44 R$* $# _ARG_')