Commit | Line | Data |
---|---|---|
afda344b PH |
1 | # Exim test configuration 0113 |
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_rcpt = check_recipient | |
15 | acl_smtp_data = check_message | |
16 | ||
17 | domainlist local_domains = test.ex | |
18 | qualify_domain = test.ex | |
19 | ||
20 | ||
21 | # ----- Routers ----- | |
22 | ||
23 | begin routers | |
24 | ||
25 | deliver: | |
26 | driver = accept | |
27 | condition = ${if eq{$original_local_part}{second}{yes}{no}} | |
28 | retry_use_local_part | |
29 | transport = appendfile | |
30 | ||
31 | first: | |
32 | driver = redirect | |
33 | no_check_local_user | |
34 | file = DIR/aux-fixed/TESTNUM.forward | |
35 | forbid_file | |
36 | forbid_pipe | |
37 | local_parts = first | |
38 | one_time | |
39 | retry_use_local_part | |
40 | ||
41 | second: | |
42 | driver = redirect | |
43 | allow_defer | |
44 | data = ${lookup{$local_part}lsearch{DIR/aux-fixed/TESTNUM.alias}} | |
45 | retry_use_local_part | |
46 | ||
47 | ||
48 | # ----- Transports ----- | |
49 | ||
50 | begin transports | |
51 | ||
52 | appendfile: | |
53 | driver = appendfile | |
54 | file = DIR/test-mail/$local_part | |
55 | user = CALLER | |
56 | ||
57 | ||
58 | # ----- Retry ----- | |
59 | ||
60 | ||
61 | begin retry | |
62 | ||
63 | * * F,5d,1d | |
64 | ||
65 | ||
66 | # End |