Commit | Line | Data |
---|---|---|
afda344b PH |
1 | # Exim test configuration 0110 |
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 | allow_defer | |
33 | data = ${lookup{$local_part}lsearch{DIR/aux-fixed/TESTNUM.alias}} | |
34 | forbid_file | |
35 | forbid_pipe | |
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 |