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