summaryrefslogtreecommitdiff
path: root/test/confs/3202
blob: 3c75e2138abbae56c72041ba3c4b324a5562005b (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
32
# Exim test configuration 3202

exim_path = EXIM_PATH
keep_environment =
host_lookup_order = bydns
primary_hostname = myhost.test.ex
spool_directory = DIR/spool
log_file_path = DIR/spool/log/%slog
gecos_pattern = ""
gecos_name = CALLER_NAME
tls_advertise_hosts =

# ----- 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