Testsuite: move testcase (requires plaintext authenticator)
[exim.git] / test / confs / 0043
1 # Exim test configuration 0043
2
3 exim_path = EXIM_PATH
4 host_lookup_order = bydns
5 spool_directory = DIR/spool
6 log_file_path = DIR/spool/log/%slog
7 gecos_pattern = ""
8 gecos_name = CALLER_NAME
9
10 # ----- Main settings -----
11
12 domainlist local_domains = exim.test.ex
13
14 acl_smtp_rcpt = check_recipient
15 log_selector = +smtp_incomplete_transaction
16 qualify_domain = exim.test.ex
17
18
19 # ----- ACL -----
20
21 begin acl
22
23 check_recipient:
24   accept  hosts = :
25   require verify = sender
26   deny    message = unrouteable address
27          !verify = recipient
28   accept  domains = +local_domains
29   deny    message = relay not permitted
30
31
32
33 # ----- Routers -----
34
35 begin routers
36
37 fail_remote_domains:
38   driver = redirect
39   domains = ! +local_domains
40   data = :fail: unrouteable mail domain "$domain"
41
42 system_aliases:
43   driver = redirect
44   allow_defer
45   allow_fail
46   data = ${lookup{$local_part}lsearch{DIR/aux-fixed/TESTNUM.aliases}}
47   retry_use_local_part
48
49 localuser:
50   driver = accept
51   local_parts = userx
52   transport = local_delivery
53
54
55 # ----- Transports -----
56
57 begin transports
58
59 local_delivery:
60   driver = appendfile
61   delivery_date_add
62   envelope_to_add
63   file = DIR/test-mail/$local_part
64   return_path_add
65   user = CALLER
66
67 # End