Commit | Line | Data |
---|---|---|
afda344b PH |
1 | # Exim test configuration 0042 |
2 | ||
3 | exim_path = EXIM_PATH | |
bc3c7bb7 | 4 | keep_environment = |
afda344b | 5 | host_lookup_order = bydns |
afda344b PH |
6 | spool_directory = DIR/spool |
7 | log_file_path = DIR/spool/log/%slog | |
8 | gecos_pattern = "" | |
9 | gecos_name = CALLER_NAME | |
23f3dc67 | 10 | tls_advertise_hosts = |
afda344b PH |
11 | |
12 | # ----- Main settings ----- | |
13 | ||
14 | acl_smtp_vrfy = accept | |
15 | domainlist local_domains = test.ex | |
16 | qualify_domain = test.ex | |
17 | ||
18 | ||
19 | # ----- Routers ----- | |
20 | ||
21 | begin routers | |
22 | ||
23 | fail_remote_domains: | |
24 | driver = redirect | |
25 | domains = ! +local_domains | |
26 | data = :fail: unrouteable mail domain "$domain" | |
27 | ||
81e509d7 PH |
28 | fail_expansion: |
29 | driver = redirect | |
30 | local_parts = expan | |
31 | data = ${if with syntax error | |
32 | ||
afda344b PH |
33 | localuser: |
34 | driver = accept | |
35 | local_parts = userx | |
36 | transport = local_delivery | |
37 | ||
38 | ||
39 | # ----- Transports ----- | |
40 | ||
41 | begin transports | |
42 | ||
43 | local_delivery: | |
44 | driver = appendfile | |
45 | delivery_date_add | |
46 | envelope_to_add | |
47 | file = DIR/test-mail/$local_part | |
48 | return_path_add | |
49 | user = CALLER | |
50 | ||
51 | ||
52 | # End |