From 467c84b2115a098caeaf044fcd4d2473f236edb6 Mon Sep 17 00:00:00 2001 From: Jeremy Harris Date: Thu, 11 Jul 2019 23:35:20 +0100 Subject: Router variables: local visibiliity --- test/confs/0620 | 6 ++++-- test/mail/0620.b | 6 +++--- 2 files changed, 7 insertions(+), 5 deletions(-) (limited to 'test') diff --git a/test/confs/0620 b/test/confs/0620 index 61f577417..15e31f1c5 100644 --- a/test/confs/0620 +++ b/test/confs/0620 @@ -23,7 +23,9 @@ alias: driver = redirect debug_print = DEBUG: $r_r1 $r_r2 data = b - set = <; r_r1 = $local_part aaa:bbb bar=baz + set = <; r_r1 = <$local_part> aaa:bbb bar=baz + set = r_local = check + errors_to = bad_$r_local user: driver = accept @@ -43,7 +45,7 @@ local_delivery: file = DIR/test-mail/$local_part user = CALLER debug_print = DEBUG: $r_r1 $r_r2 - headers_add = X-r1: $r_r1\nX-r2: $r_r2 + headers_add = X-r1: <$r_r1>\nX-r2: <$r_r2> # End diff --git a/test/mail/0620.b b/test/mail/0620.b index a30deb558..5840bc90a 100644 --- a/test/mail/0620.b +++ b/test/mail/0620.b @@ -1,4 +1,4 @@ -From CALLER@test.ex Tue Mar 02 09:44:33 1999 +From bad_check@test.ex Tue Mar 02 09:44:33 1999 Envelope-to: a@test.ex Received: from CALLER by the.local.host.name with local (Exim x.yz) (envelope-from ) @@ -7,7 +7,7 @@ Received: from CALLER by the.local.host.name with local (Exim x.yz) Message-Id: From: CALLER_NAME Date: Tue, 2 Mar 1999 09:44:33 +0000 -X-r1: b -X-r2: b 2a00:1940:100::ff:0:1 foo=bar +X-r1: +X-r2: -- cgit v1.2.3