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