Commit | Line | Data |
---|---|---|
afda344b PH |
1 | # Exim test configuration 0113 |
2 | ||
3 | exim_path = EXIM_PATH | |
4 | host_lookup_order = bydns | |
5 | rfc1413_query_timeout = 0s | |
6 | spool_directory = DIR/spool | |
7 | log_file_path = DIR/spool/log/%slog | |
8 | gecos_pattern = "" | |
9 | gecos_name = CALLER_NAME | |
10 | ||
11 | # ----- Main settings ----- | |
12 | ||
13 | acl_smtp_rcpt = check_recipient | |
14 | acl_smtp_data = check_message | |
15 | ||
16 | domainlist local_domains = test.ex | |
17 | qualify_domain = test.ex | |
18 | ||
19 | ||
20 | # ----- Routers ----- | |
21 | ||
22 | begin routers | |
23 | ||
24 | deliver: | |
25 | driver = accept | |
26 | condition = ${if eq{$original_local_part}{second}{yes}{no}} | |
27 | retry_use_local_part | |
28 | transport = appendfile | |
29 | ||
30 | first: | |
31 | driver = redirect | |
32 | no_check_local_user | |
33 | file = DIR/aux-fixed/TESTNUM.forward | |
34 | forbid_file | |
35 | forbid_pipe | |
36 | local_parts = first | |
37 | one_time | |
38 | retry_use_local_part | |
39 | ||
40 | second: | |
41 | driver = redirect | |
42 | allow_defer | |
43 | data = ${lookup{$local_part}lsearch{DIR/aux-fixed/TESTNUM.alias}} | |
44 | retry_use_local_part | |
45 | ||
46 | ||
47 | # ----- Transports ----- | |
48 | ||
49 | begin transports | |
50 | ||
51 | appendfile: | |
52 | driver = appendfile | |
53 | file = DIR/test-mail/$local_part | |
54 | user = CALLER | |
55 | ||
56 | ||
57 | # ----- Retry ----- | |
58 | ||
59 | ||
60 | begin retry | |
61 | ||
62 | * * F,5d,1d | |
63 | ||
64 | ||
65 | # End |