Commit | Line | Data |
---|---|---|
afda344b PH |
1 | # Exim test configuration 0041 |
2 | ||
d4dc049f JH |
3 | .include DIR/aux-var/std_conf_prefix |
4 | ||
afda344b PH |
5 | |
6 | # ----- Main settings ----- | |
7 | ||
8 | domainlist local_domains = test.ex | |
9 | ||
4f6ae5c3 | 10 | acl_smtp_vrfy = check_vrfy |
afda344b PH |
11 | acl_smtp_expn = check_expn |
12 | qualify_domain = test.ex | |
13 | no_write_rejectlog | |
14 | ||
15 | ||
16 | # ----- ACLs ----- | |
17 | ||
18 | begin acl | |
19 | ||
4f6ae5c3 JH |
20 | check_vrfy: |
21 | deny local_parts = hardfail | |
22 | message = 599 custom reject | |
23 | ||
afda344b PH |
24 | check_expn: |
25 | accept hosts = 2.2.2.2 | |
26 | ||
27 | # ----- Routers ----- | |
28 | ||
29 | begin routers | |
30 | ||
31 | system_aliases: | |
32 | driver = redirect | |
33 | allow_defer | |
34 | data = ${lookup{$local_part}lsearch{DIR/aux-fixed/TESTNUM.aliases}} | |
35 | retry_use_local_part | |
36 | ||
37 | localuser: | |
38 | driver = accept | |
39 | local_parts = userx | |
40 | transport = local_delivery | |
41 | ||
42 | ||
43 | # ----- Transports ----- | |
44 | ||
45 | begin transports | |
46 | ||
47 | local_delivery: | |
48 | driver = appendfile | |
49 | delivery_date_add | |
50 | envelope_to_add | |
51 | file = DIR/test-mail/$local_part | |
52 | return_path_add | |
53 | user = CALLER | |
54 | ||
55 | ||
56 | # ----- Retry ----- | |
57 | ||
58 | # End |