--- sendmail-cf/feature/greet_pause.m4.orig	2004-07-06 14:49:51.000000000 -0600
+++ sendmail-cf/feature/greet_pause.m4	2011-12-19 18:32:18.036025424 -0700
@@ -36,6 +36,7 @@ ifdef(`_ACCESS_TABLE_', `dnl
 R$+ $| $+		$: $>D < $1 > <?> <! GreetPause> < $2 >
 R   $| $+		$: $>A < $1 > <?> <! GreetPause> <>	empty client_name
 R<?> <$+>		$: $>A < $1 > <?> <! GreetPause> <>	no: another lookup
+R<?> <$*>		$: $>D < $&{daemon_name} > <?> <! GreetPause> < $1 >
 ifelse(len(X`'_ARG_),`1',
 `R<?> <$*>		$@',
 `R<?> <$*>		$# _ARG_')
--- sendmail-cf/m4/proto.m4.orig	2011-10-24 06:25:58.000000000 -0600
+++ sendmail-cf/m4/proto.m4	2011-12-19 18:34:58.113969993 -0700
@@ -2965,7 +2965,7 @@ ifdef(`_RATE_CONTROL_',`dnl
 ######################################################################
 SRateControl
 ifdef(`_ACCESS_TABLE_', `dnl
-R$*		$: <A:$&{client_addr}> <E:>
+R$*		$: <A:$&{client_addr}> <E:$&{daemon_name}> <E:>
 dnl also look up a default value via E:
 R$+		$: $>SearchList <! ClientRate> $| $1 <>
 dnl found nothing: stop here
@@ -2987,7 +2987,7 @@ ifdef(`_CONN_CONTROL_',`dnl
 ######################################################################
 SConnControl
 ifdef(`_ACCESS_TABLE_', `dnl
-R$*		$: <A:$&{client_addr}> <E:>
+R$*		$: <A:$&{client_addr}> <E:$&{daemon_name}> <E:>
 dnl also look up a default value via E:
 R$+		$: $>SearchList <! ClientConn> $| $1 <>
 dnl found nothing: stop here
