Commit | Line | Data |
---|---|---|
afda344b PH |
1 | # Exim test configuration 0091 |
2 | ||
3 | exim_path = EXIM_PATH | |
4 | host_lookup_order = bydns | |
5 | primary_hostname = myhost.test.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 | ||
11 | # ----- Main settings ----- | |
12 | ||
13 | acl_smtp_rcpt = check_recipient | |
14 | acl_smtp_data = check_message | |
15 | domainlist local_domains = test.ex : *.test.ex | |
16 | ||
17 | # ----- ACL ----- | |
18 | ||
19 | begin acl | |
20 | ||
21 | check_recipient: | |
22 | deny hosts = ! V4NET.0.0.1 | |
23 | !verify = sender | |
24 | accept domains = +local_domains | |
25 | deny message = relay not permitted | |
26 | ||
27 | check_message: | |
28 | require verify = header_sender | |
29 | accept | |
30 | ||
31 | ||
32 | # ----- Routers ----- | |
33 | ||
34 | begin routers | |
35 | ||
36 | localuser: | |
37 | driver = accept | |
38 | local_parts = userx | |
39 | verify_only | |
40 | ||
41 | ||
42 | # End |