blob: 8fb017178cccc4e9fc9bc8b1e13f046b6806cca5 (
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
|
# Exim test configuration 0410
exim_path = EXIM_PATH
host_lookup_order = bydns
spool_directory = DIR/spool
log_file_path = DIR/spool/log/%slog
gecos_pattern = ""
gecos_name = CALLER_NAME
tls_advertise_hosts =
# ----- Main settings -----
primary_hostname = mail.test.ex
qualify_domain = test.ex
acl_smtp_rcpt = rcpt
# ----- ACL -----
begin ACL
rcpt:
accept verify = recipient
verify = sender
condition = ${if eq {$address_data}{ADDRESS_DATA_STRING}{yes}{no}}
condition = ${if eq {$sender_address_data}{SENDER_ADDRESS_DATA_STRING}{yes}{no}}
# ----- Routers -----
begin routers
r1:
driver = redirect
local_parts = orig
data = child@test.ex
r2:
driver = accept
local_parts = child
address_data = ADDRESS_DATA_STRING
transport = t1
r3:
driver = accept
local_parts = oksender
address_data = SENDER_ADDRESS_DATA_STRING
transport = t1
# ----- Transports -----
begin transports
t1:
driver = appendfile
file = /dev/null
user = CALLER
# End
|