Commit | Line | Data |
---|---|---|
afda344b PH |
1 | # Exim test configuration 0056 |
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 | |
13 | # ----- Main settings ----- | |
14 | ||
15 | domainlist local_domains = test.ex : myhost.ex | |
16 | domainlist relay_domains = * | |
17 | ||
18 | acl_smtp_rcpt = check_recipient | |
19 | ||
20 | ||
21 | # ------ ACL ------ | |
22 | ||
23 | begin acl | |
24 | ||
25 | check_recipient: | |
26 | accept domains = +local_domains | |
27 | accept domains = +relay_domains | |
28 | deny message = relay not permitted | |
29 | ||
30 | # End |