Commit | Line | Data |
---|---|---|
afda344b PH |
1 | # Exim test configuration 0042 |
2 | ||
3 | exim_path = EXIM_PATH | |
4 | host_lookup_order = bydns | |
afda344b PH |
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 | acl_smtp_vrfy = accept | |
13 | domainlist local_domains = test.ex | |
14 | qualify_domain = test.ex | |
15 | ||
16 | ||
17 | # ----- Routers ----- | |
18 | ||
19 | begin routers | |
20 | ||
21 | fail_remote_domains: | |
22 | driver = redirect | |
23 | domains = ! +local_domains | |
24 | data = :fail: unrouteable mail domain "$domain" | |
25 | ||
81e509d7 PH |
26 | fail_expansion: |
27 | driver = redirect | |
28 | local_parts = expan | |
29 | data = ${if with syntax error | |
30 | ||
afda344b PH |
31 | localuser: |
32 | driver = accept | |
33 | local_parts = userx | |
34 | transport = local_delivery | |
35 | ||
36 | ||
37 | # ----- Transports ----- | |
38 | ||
39 | begin transports | |
40 | ||
41 | local_delivery: | |
42 | driver = appendfile | |
43 | delivery_date_add | |
44 | envelope_to_add | |
45 | file = DIR/test-mail/$local_part | |
46 | return_path_add | |
47 | user = CALLER | |
48 | ||
49 | ||
50 | # End |