Commit | Line | Data |
---|---|---|
afda344b PH |
1 | # Exim test configuration 0110 |
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 | allow_defer | |
32 | data = ${lookup{$local_part}lsearch{DIR/aux-fixed/TESTNUM.alias}} | |
33 | forbid_file | |
34 | forbid_pipe | |
35 | one_time | |
36 | retry_use_local_part | |
37 | ||
38 | second: | |
39 | driver = redirect | |
40 | allow_defer | |
41 | data = ${lookup{$local_part}lsearch{DIR/aux-fixed/TESTNUM.alias}} | |
42 | retry_use_local_part | |
43 | ||
44 | ||
45 | # ----- Transports ----- | |
46 | ||
47 | begin transports | |
48 | ||
49 | appendfile: | |
50 | driver = appendfile | |
51 | file = DIR/test-mail/$local_part | |
52 | user = CALLER | |
53 | ||
54 | ||
55 | # ----- Retry ----- | |
56 | ||
57 | ||
58 | begin retry | |
59 | ||
60 | * * F,5d,1d | |
61 | ||
62 | ||
63 | # End |