diff options
author | Philip Hazel <ph10@hermes.cam.ac.uk> | 2006-02-07 10:34:24 +0000 |
---|---|---|
committer | Philip Hazel <ph10@hermes.cam.ac.uk> | 2006-02-07 10:34:24 +0000 |
commit | afda344b580b54a4513569720aec3260cd5ba546 (patch) | |
tree | 6318744c7d3f502ee72bcd20bab0f612c5dceacf /test/confs/0325 | |
parent | 9ba4af2b76958e076a0c002e53ead87ed7a47a68 (diff) |
More new test committing.
Diffstat (limited to 'test/confs/0325')
-rw-r--r-- | test/confs/0325 | 80 |
1 files changed, 80 insertions, 0 deletions
diff --git a/test/confs/0325 b/test/confs/0325 new file mode 100644 index 000000000..f56b01bd7 --- /dev/null +++ b/test/confs/0325 @@ -0,0 +1,80 @@ +# Exim test configuration 0325 + +exim_path = EXIM_PATH +host_lookup_order = bydns +primary_hostname = myhost.test.ex +rfc1413_query_timeout = 0s +spool_directory = DIR/spool +log_file_path = DIR/spool/log/%slog +gecos_pattern = "" +gecos_name = CALLER_NAME + +# ----- Main settings ----- + +domainlist test_domains = lsearch; DIR/aux-fixed/TESTNUM.data +localpartlist test_local_parts = lsearch;DIR/aux-fixed/TESTNUM.data + +acl_smtp_rcpt = a1 + +# ----- ACLs ----- + +begin ACL + +a1: + accept domains = +test_domains + local_parts = +test_local_parts + condition = ${if eq{$domain_data/$local_part_data}\ + {DOMAIN DATA/LOCAL PART DATA}{no}{yes}} + + deny domains = +test_domains + local_parts = +test_local_parts + message = \$domain_data=$domain_data \$local_part_data=$local_part_data + + +# ----- Routers ----- + +begin routers + +r1: + driver = redirect + domains = lsearch;DIR/aux-fixed/TESTNUM.data + local_parts = lsearch;DIR/aux-fixed/TESTNUM.data + data = + debug_print = r1: \$domain_data = $domain_data\n\ + r1: \$local_part_data = $local_part_data + +r2: + driver = redirect + domains = lsearch;DIR/aux-fixed/TESTNUM.data + local_parts = lsearch;DIR/aux-fixed/TESTNUM.data + data = + debug_print = r2: \$domain_data = $domain_data\n\ + r2: \$local_part_data = $local_part_data + +r3: + driver = redirect + domains = +test_domains + local_parts = +test_local_parts + data = + debug_print = r3: \$domain_data = $domain_data\n\ + r3: \$local_part_data = $local_part_data + +r4: + driver = accept + domains = +test_domains + local_parts = +test_local_parts + transport = t1 + debug_print = r4: \$domain_data = $domain_data\n\ + r4: \$local_part_data = $local_part_data + + +# ----- Transports ----- + +begin transports + +t1: + driver = appendfile + file = /dev/null + user = CALLER + +# End |