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