Commit | Line | Data |
---|---|---|
afda344b PH |
1 | # Exim test configuration 3202 |
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 | # Use first three components of address to select ACL | |
14 | acl_smtp_rcpt = acl_${sg{${tr{$sender_host_address}{.}{_}}}{^(.*)_.*\$}{\$1}} | |
15 | ||
16 | # ----- ACLs ----- | |
17 | ||
18 | begin acl | |
19 | ||
20 | acl_1_1_1: | |
21 | accept hosts = net-testdb;defer | |
22 | ||
23 | acl_1_1_2: | |
24 | deny domains = testdb;defer | |
25 | ||
26 | acl_1_1_3: | |
27 | require local_parts = testdb;defer | |
28 | ||
29 | ||
30 | # End |