From 194cc0e4ae3487900036c6bd208c0784d4e6e814 Mon Sep 17 00:00:00 2001 From: Philip Hazel Date: Mon, 13 Nov 2006 12:07:46 +0000 Subject: Rename $interface_address and $interface_port as $received_ip_address and $received_port in an attempt to lessen confusion. --- test/confs/0282 | 3 ++- test/confs/0480 | 6 +++--- 2 files changed, 5 insertions(+), 4 deletions(-) (limited to 'test/confs') diff --git a/test/confs/0282 b/test/confs/0282 index 0952977ab..9ebe5ad81 100644 --- a/test/confs/0282 +++ b/test/confs/0282 @@ -33,6 +33,7 @@ local_delivery: driver = appendfile file = DIR/test-mail/$local_part user = CALLER - headers_add = interface-port: $interface_port + headers_add = interface-port: $interface_port\n\ + received-port: $received_port # End diff --git a/test/confs/0480 b/test/confs/0480 index 3308c0663..c8adb1ba5 100644 --- a/test/confs/0480 +++ b/test/confs/0480 @@ -18,13 +18,13 @@ gecos_name = CALLER_NAME acl_smtp_rcpt = accept -smtp_active_hostname = ${if eq{$interface_address}{IP1}\ +smtp_active_hostname = ${if eq{$received_ip_address}{IP1}\ {host.IP1}\ {\ - ${if eq{$interface_address}{IP2}\ + ${if eq{$received_ip_address}{IP2}\ {}\ {\ - ${if eq{$interface_address}{IP3}\ + ${if eq{$received_ip_address}{IP3}\ {${lookup{x}lsearch{/non/exist}}}\ fail}\ }}\ -- cgit v1.2.3