xconnect.m4 (b5ff185e19f6013ca565b2a15bc2d6abce933f46) | xconnect.m4 (d39bd2c1388b520fcba9abed1932acacead60fba) |
---|---|
1divert(-1) 2# 3# Copyright (c) 1998-2011 Proofpoint, Inc. and its suppliers. 4# All rights reserved. 5# Copyright (c) 1983 Eric P. Allman. All rights reserved. 6# Copyright (c) 1988, 1993 7# The Regents of the University of California. All rights reserved. 8# --- 6 unchanged lines hidden (view full) --- 15VERSIONID(`$Id: xconnect.m4,v 1.3 2013-11-22 20:51:13 ca Exp $') 16divert(-1) 17 18ifdef(`_ACCESS_TABLE_', `dnl 19LOCAL_RULESETS 20# 21# x_connect ruleset for looking up XConnect: tag in access DB to enable 22# XCONNECT support in MTA | 1divert(-1) 2# 3# Copyright (c) 1998-2011 Proofpoint, Inc. and its suppliers. 4# All rights reserved. 5# Copyright (c) 1983 Eric P. Allman. All rights reserved. 6# Copyright (c) 1988, 1993 7# The Regents of the University of California. All rights reserved. 8# --- 6 unchanged lines hidden (view full) --- 15VERSIONID(`$Id: xconnect.m4,v 1.3 2013-11-22 20:51:13 ca Exp $') 16divert(-1) 17 18ifdef(`_ACCESS_TABLE_', `dnl 19LOCAL_RULESETS 20# 21# x_connect ruleset for looking up XConnect: tag in access DB to enable 22# XCONNECT support in MTA |
23# if the RHS of the map entry is haproxy1, 24# then HAproxy protocol version 1 is used |
|
23# 24Sx_connect 25dnl workspace: {client_name} $| {client_addr} 26R$+ $| $+ $: $>D < $1 > <?> <! XConnect> < $2 > 27dnl workspace: <result-of-lookup> <{client_addr}> 28dnl OR $| $+ if client_name is empty 29R $| $+ $: $>A < $1 > <?> <! XConnect> <> empty client_name 30dnl workspace: <result-of-lookup> <{client_addr}> 31R<?> <$+> $: $>A < $1 > <?> <! XConnect> <> no: another lookup 32dnl workspace: <result-of-lookup> (<>|<{client_addr}>) 33R<?> <$*> $# no found nothing 34dnl workspace: <result-of-lookup> (<>|<{client_addr}>) | OK | 25# 26Sx_connect 27dnl workspace: {client_name} $| {client_addr} 28R$+ $| $+ $: $>D < $1 > <?> <! XConnect> < $2 > 29dnl workspace: <result-of-lookup> <{client_addr}> 30dnl OR $| $+ if client_name is empty 31R $| $+ $: $>A < $1 > <?> <! XConnect> <> empty client_name 32dnl workspace: <result-of-lookup> <{client_addr}> 33R<?> <$+> $: $>A < $1 > <?> <! XConnect> <> no: another lookup 34dnl workspace: <result-of-lookup> (<>|<{client_addr}>) 35R<?> <$*> $# no found nothing 36dnl workspace: <result-of-lookup> (<>|<{client_addr}>) | OK |
35R<$+> <$*> $@ yes found in access DB', | 37R<$+> <$*> $@ $1 found in access DB', |
36 `errprint(`*** ERROR: HACK(xconnect) requires FEATURE(access_db) 37')') | 38 `errprint(`*** ERROR: HACK(xconnect) requires FEATURE(access_db) 39')') |