diff options
author | Philip Hazel <ph10@hermes.cam.ac.uk> | 2006-11-13 12:07:46 +0000 |
---|---|---|
committer | Philip Hazel <ph10@hermes.cam.ac.uk> | 2006-11-13 12:07:46 +0000 |
commit | 194cc0e4ae3487900036c6bd208c0784d4e6e814 (patch) | |
tree | 1110a6dfb5e288edd31a0d0e6a6883de142e362c /test/confs | |
parent | 3cc66b4537846d0f9211fcb63c426be9a553edb1 (diff) |
Rename $interface_address and $interface_port as $received_ip_address
and $received_port in an attempt to lessen confusion.
Diffstat (limited to 'test/confs')
-rw-r--r-- | test/confs/0282 | 3 | ||||
-rw-r--r-- | test/confs/0480 | 6 |
2 files changed, 5 insertions, 4 deletions
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}\ }}\ |