Commit | Line | Data |
---|---|---|
afda344b PH |
1 | # Exim test configuration 0051 |
2 | ||
d4dc049f JH |
3 | .include DIR/aux-var/std_conf_prefix |
4 | ||
afda344b | 5 | trusted_users = CALLER |
d4dc049f | 6 | primary_hostname = myhost.ex |
afda344b PH |
7 | |
8 | # ----- Main settings ----- | |
9 | ||
10 | domainlist local_domains = test.ex : \ | |
11 | myhost.ex : \ | |
12 | bad.ex : \ | |
13 | DIR/aux-fixed/TESTNUM.domains : \ | |
14 | lsearch;DIR/aux-fixed/TESTNUM.notdomains | |
15 | ||
16 | ||
17 | # ----- Routers ----- | |
18 | ||
19 | begin routers | |
20 | ||
21 | fail_remote_domains: | |
22 | driver = redirect | |
23 | domains = ! +local_domains | |
24 | allow_fail | |
25 | data = :fail: unrouteable mail domain "$domain" (:fail:) | |
26 | ||
27 | localuser: | |
28 | driver = accept | |
29 | local_parts = userx : CALLER | |
30 | domains = test.ex : DIR/aux-fixed/TESTNUM.domains :\ | |
31 | !lsearch;DIR/aux-fixed/TESTNUM.notdomains : !bad.ex | |
32 | transport = local_delivery | |
33 | ||
34 | ||
35 | # ----- Transports ----- | |
36 | ||
37 | begin transports | |
38 | ||
39 | local_delivery: | |
40 | driver = appendfile | |
41 | delivery_date_add | |
42 | envelope_to_add | |
43 | file = DIR/test-mail/$local_part | |
44 | return_path_add | |
45 | user = CALLER | |
46 | ||
47 | # End |