Commit | Line | Data |
---|---|---|
afda344b PH |
1 | # Exim test configuration 0094 |
2 | ||
3 | exim_path = EXIM_PATH | |
4 | host_lookup_order = bydns | |
5 | rfc1413_query_timeout = 0s | |
6 | spool_directory = DIR/spool | |
7 | log_file_path = DIR/spool/log/%slog | |
8 | gecos_pattern = "" | |
9 | gecos_name = CALLER_NAME | |
10 | ||
11 | # ----- Main settings ----- | |
12 | ||
13 | qualify_domain = test.ex | |
14 | ||
15 | acl_smtp_rcpt = check_recipient | |
16 | domainlist local_domains = test.ex | |
17 | ||
18 | hostlist relay_hosts = *.masq.test.ex | |
19 | ||
20 | host_lookup = 0.0.0.0/0 | |
21 | ||
22 | ||
23 | # ----- ACL ----- | |
24 | ||
25 | begin acl | |
26 | ||
27 | check_recipient: | |
28 | accept hosts = : | |
29 | accept domains = +local_domains | |
30 | accept hosts = +relay_hosts | |
31 | deny message = relay not permitted | |
32 | ||
33 | ||
34 | # ----- Routers ----- | |
35 | ||
36 | begin routers | |
37 | ||
38 | localuser: | |
39 | driver = accept | |
40 | local_parts = userx | |
41 | transport = appendfile | |
42 | ||
43 | ||
44 | # ----- Transports ----- | |
45 | ||
46 | begin transports | |
47 | ||
48 | appendfile: | |
49 | driver = appendfile | |
50 | file = DIR/test-mail/$local_part | |
51 | headers_add = host_lookup_failed: $host_lookup_failed\n\ | |
52 | host_lookup_deferred: $host_lookup_deferred | |
53 | user = CALLER | |
54 | ||
55 | ||
56 | # End |