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 | |
c39b93a6 | 14 | recipient_unqualified_hosts = 3.3.3.3 |
afda344b PH |
15 | |
16 | ||
17 | # ----- ACLs ----- | |
18 | ||
19 | begin acl | |
20 | ||
4f6ae5c3 JH |
21 | check_vrfy: |
22 | deny local_parts = hardfail | |
23 | message = 599 custom reject | |
c39b93a6 JH |
24 | accept local_parts = acceptable |
25 | accept local_parts = ok_with_dom | |
26 | domains = test.ex | |
4f6ae5c3 | 27 | |
afda344b PH |
28 | check_expn: |
29 | accept hosts = 2.2.2.2 | |
30 | ||
31 | # ----- Routers ----- | |
32 | ||
33 | begin routers | |
34 | ||
35 | system_aliases: | |
36 | driver = redirect | |
37 | allow_defer | |
38 | data = ${lookup{$local_part}lsearch{DIR/aux-fixed/TESTNUM.aliases}} | |
39 | retry_use_local_part | |
40 | ||
41 | localuser: | |
42 | driver = accept | |
c39b93a6 | 43 | local_parts = userx : ok_with_dom : acceptable |
afda344b PH |
44 | transport = local_delivery |
45 | ||
46 | ||
47 | # ----- Transports ----- | |
48 | ||
49 | begin transports | |
50 | ||
51 | local_delivery: | |
52 | driver = appendfile | |
53 | delivery_date_add | |
54 | envelope_to_add | |
55 | file = DIR/test-mail/$local_part | |
56 | return_path_add | |
57 | user = CALLER | |
58 | ||
59 | ||
60 | # ----- Retry ----- | |
61 | ||
62 | # End |