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