Commit | Line | Data |
---|---|---|
afda344b PH |
1 | # Exim test configuration 0089 |
2 | ||
3 | exim_path = EXIM_PATH | |
bc3c7bb7 | 4 | keep_environment = |
afda344b PH |
5 | host_lookup_order = bydns |
6 | primary_hostname = myhost.test.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 | |
13 | # ----- Main settings ----- | |
14 | ||
15 | domainlist local_domains = Test.ex : myhost.test.EX | |
16 | domainlist relay_domains = Test.ex : Relay.one.ex | |
17 | ||
18 | acl_smtp_rcpt = check_recipient | |
19 | ||
20 | helo_allow_chars = _ | |
21 | helo_accept_junk_hosts = *N-99.test.ex | |
22 | sender_unqualified_hosts = *N-99.test.EX | |
23 | ||
24 | ||
25 | # ----- ACL ----- | |
26 | ||
27 | begin acl | |
28 | ||
29 | check_recipient: | |
30 | accept hosts = : | |
31 | accept domains = +local_domains | |
32 | accept domains = +relay_domains | |
33 | deny message = relay not permitted | |
34 | ||
35 | ||
36 | # ----- Routers ----- | |
37 | ||
38 | begin routers | |
39 | ||
40 | manual: | |
41 | driver = manualroute | |
42 | caseful_local_part | |
43 | domains = ! +local_domains | |
44 | local_parts = XYZ | |
45 | route_list = * $domain byname | |
46 | transport = dummy | |
47 | ||
48 | lookuphost: | |
49 | driver = dnslookup | |
50 | domains = ! +local_domains | |
51 | verify_only | |
52 | ||
53 | fail_remote_domains: | |
54 | driver = redirect | |
55 | domains = ! +local_domains | |
56 | allow_fail | |
57 | data = :fail: unrouteable mail domain "$domain" | |
58 | ||
59 | select: | |
60 | driver = accept | |
61 | local_parts = ABCD | |
62 | retry_use_local_part | |
63 | transport = dummy | |
64 | ||
65 | localuser: | |
66 | driver = accept | |
67 | local_parts = userx | |
68 | transport = dummy | |
69 | ||
70 | ||
71 | # ----- Transports ----- | |
72 | ||
73 | begin transports | |
74 | ||
75 | dummy: | |
76 | driver = smtp | |
77 | ||
78 | ||
79 | # End |