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