diff options
author | Jeremy Harris <jgh146exb@wizmail.org> | 2023-09-07 16:40:39 +0100 |
---|---|---|
committer | Jeremy Harris <jgh146exb@wizmail.org> | 2023-09-07 16:40:39 +0100 |
commit | 7616c28d51aad5dadbe4e8bc9ccee84b0a9b407c (patch) | |
tree | 237c1e4d42bf0ec61ef22340d2408d992c02dfa4 /test/confs/0403 | |
parent | 87ae73f8bea31b51fbcd6e1ae80742cd4d792308 (diff) |
Docs: example complex expansion for router domains condition
Diffstat (limited to 'test/confs/0403')
-rw-r--r-- | test/confs/0403 | 24 |
1 files changed, 17 insertions, 7 deletions
diff --git a/test/confs/0403 b/test/confs/0403 index 26d1cd6fe..4fe478b09 100644 --- a/test/confs/0403 +++ b/test/confs/0403 @@ -14,13 +14,23 @@ qualify_domain = test.ex begin routers r1: - driver = redirect - domains = lsearch;DIR/aux-fixed/TESTNUM.data - local_parts = lsearch;DIR/aux-fixed/TESTNUM.data - address_data = ADDRESSDATA - file_transport = t1 - data = DIR/test-mail/junk - router_home_directory = /usr + driver = redirect + domains = ${domain:${lookup {$local_part@$domain} lsearch,ret=key {DIR/aux-fixed/TESTNUM.accountfile}}} + local_parts = ${local_part:${lookup {$local_part@$domain} lsearch,ret=key {DIR/aux-fixed/TESTNUM.accountfile}}} + file_transport = t1 + data = DIR/test-mail/junk + debug_print = +++ROUTER:\n\ + +++domain_data=$domain_data\n\ + +++local_part_data=$local_part_data + +r2: + driver = redirect + domains = lsearch;DIR/aux-fixed/TESTNUM.data + local_parts = lsearch;DIR/aux-fixed/TESTNUM.data + address_data = ADDRESSDATA + file_transport = t1 + data = DIR/test-mail/junk + router_home_directory = /usr debug_print = +++ROUTER:\n\ +++domain_data=$domain_data\n\ +++local_part_data=$local_part_data\n\ |