From 759502e5af0acfb310b8571f056d2dbf59adb1d3 Mon Sep 17 00:00:00 2001 From: Jeremy Harris Date: Sat, 29 Feb 2020 16:30:35 +0000 Subject: Add variables for wildcard portion of local-part affix. Bug 281 --- test/confs/0015 | 6 ++++-- test/confs/0016 | 5 ++++- 2 files changed, 8 insertions(+), 3 deletions(-) (limited to 'test/confs') diff --git a/test/confs/0015 b/test/confs/0015 index 8c62e2e08..b1472da06 100644 --- a/test/confs/0015 +++ b/test/confs/0015 @@ -83,7 +83,8 @@ local_delivery: file = DIR/test-mail/${bless:$local_part} return_path_add headers_add = X-local_part: $local_part\n\ - X-local_part_prefix: $local_part_prefix + X-local_part_prefix: $local_part_prefix\n\ + X-local_part_prefix_v: $local_part_prefix_v local_delivery_b: driver = appendfile @@ -94,7 +95,8 @@ local_delivery_b: return_path_add use_bsmtp headers_add = X-local_part: $local_part\n\ - X-local_part_prefix: $local_part_prefix + X-local_part_prefix: $local_part_prefix\n\ + X-local_part_prefix_v: $local_part_prefix_v delivery_s: driver = smtp diff --git a/test/confs/0016 b/test/confs/0016 index dcc005f0b..9e190d8eb 100644 --- a/test/confs/0016 +++ b/test/confs/0016 @@ -39,8 +39,11 @@ local_delivery: user = CALLER delivery_date_add envelope_to_add - file = DIR/test-mail/${bless:$local_part} + headers_add = X-local_part: $local_part\n\ + X-local_part_suffix: $local_part_suffix\n\ + X-local_part_suffix_v: $local_part_suffix_v return_path_add + file = DIR/test-mail/${bless:$local_part} address_reply: driver = autoreply -- cgit v1.2.3