Commit | Line | Data |
---|---|---|
afda344b PH |
1 | # Exim test configuration 0157 |
2 | ||
3 | exim_path = EXIM_PATH | |
bc3c7bb7 | 4 | keep_environment = |
afda344b | 5 | host_lookup_order = bydns |
afda344b PH |
6 | spool_directory = DIR/spool |
7 | log_file_path = DIR/spool/log/%slog | |
8 | gecos_pattern = "" | |
9 | gecos_name = CALLER_NAME | |
23f3dc67 | 10 | tls_advertise_hosts = |
afda344b PH |
11 | |
12 | # ----- Main settings ----- | |
13 | ||
14 | acl_smtp_rcpt = check_recipient | |
15 | ||
16 | domainlist local_domains = test.ex | |
17 | hostlist relay_hosts = V4NET.0.0.1 : V4NET.0.0.2 | |
18 | qualify_domain = test.ex | |
19 | ||
20 | # ----- ACL ----- | |
21 | ||
22 | begin acl | |
23 | ||
24 | check_recipient: | |
25 | accept hosts = : | |
26 | accept domains = +local_domains | |
27 | accept hosts = V4NET.0.0.1 | |
28 | endpass | |
29 | message = invalid sender | |
30 | senders = userx@test.ex | |
31 | accept hosts = +relay_hosts | |
32 | deny message = relay not permitted | |
33 | ||
34 | # End |