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