blob: 97bbfa463f51b2fab468ef50b8a200b0f911a580 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
# Exim test configuration 3202
exim_path = EXIM_PATH
host_lookup_order = bydns
primary_hostname = myhost.test.ex
rfc1413_query_timeout = 0s
spool_directory = DIR/spool
log_file_path = DIR/spool/log/%slog
gecos_pattern = ""
gecos_name = CALLER_NAME
# ----- Main settings -----
# Use first three components of address to select ACL
acl_smtp_rcpt = acl_${sg{${tr{$sender_host_address}{.}{_}}}{^(.*)_.*\$}{\$1}}
# ----- ACLs -----
begin acl
acl_1_1_1:
accept hosts = net-testdb;defer
acl_1_1_2:
deny domains = testdb;defer
acl_1_1_3:
require local_parts = testdb;defer
# End
|