Commit | Line | Data |
---|---|---|
afda344b PH |
1 | # Exim test configuration 3208 |
2 | ||
3 | exim_path = EXIM_PATH | |
4 | host_lookup_order = bydns | |
5 | primary_hostname = myhost.test.ex | |
6 | qualify_domain = 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 | |
11 | ||
12 | # ----- Main settings ----- | |
13 | ||
14 | acl_smtp_rcpt = check_recipient | |
15 | ||
16 | domainlist local_domains = !*relay.ex : test.ex : testhack.ex : \ | |
17 | testhack2.ex : testdb;defer | |
18 | ||
19 | domainlist relay_domains = test.ex : testhack.ex : testhack2.ex : \ | |
20 | yesrelay.ex : testdb;defer | |
21 | ||
22 | percent_hack_domains = !*relay.ex : !test.ex : testhack.ex : testdb;defer | |
23 | ||
24 | ||
25 | # ----- ACL ----- | |
26 | ||
27 | begin acl | |
28 | ||
29 | check_recipient: | |
30 | # Exim 3 had no checking on -bs messages | |
31 | accept hosts = : | |
32 | accept domains = +local_domains | |
33 | accept domains = +relay_domains | |
34 | deny message = relay not permitted | |
35 | ||
36 | # End |