X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/4fab92fbc2b63bac2d89c1dae69fa1845cb640b7..600dc06981df5a906125f8442c36056a117412d4:/test/confs/0134 diff --git a/test/confs/0134 b/test/confs/0134 index 9530df652..0358e12ae 100644 --- a/test/confs/0134 +++ b/test/confs/0134 @@ -45,6 +45,14 @@ smartuser: retry_use_local_part transport = appendfile +smartuser_direct: + driver = accept + domains = test.ex + headers_add = "smartuser: dd=$domain_data lpd=$local_part_data" + local_parts = DIR/aux-fixed/TESTNUM.listL + retry_use_local_part + transport = directfile + default2: driver = accept headers_add = router: defaulted @@ -71,9 +79,16 @@ appendfile: ${if eq {$local_part}{userx}{lc-userx}{\ $local_part}}}}}} +directfile: + driver = appendfile + user = CALLER + headers_add = "domain_data: $domain_data\n\ + local_part_data: $local_part_data" + file = DIR/test-mail/directfile + pipe: driver = pipe - command = /bin/sh -c "echo $local_part $domain >DIR/test-mail/$local_part" + command = /bin/sh -c "echo $local_part_data $domain_data >DIR/test-mail/$local_part_data" user = CALLER