blob: d6f006e7b22cb58011938278582e5e57120b6c4b (
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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
|
# Exim test configuration 0325
exim_path = EXIM_PATH
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
# ----- Main settings -----
domainlist test_domains = lsearch; DIR/aux-fixed/TESTNUM.data
localpartlist test_local_parts = lsearch;DIR/aux-fixed/TESTNUM.data
acl_smtp_rcpt = a1
# ----- ACLs -----
begin ACL
a1:
accept domains = +test_domains
local_parts = +test_local_parts
condition = ${if eq{$domain_data/$local_part_data}\
{DOMAIN DATA/LOCAL PART DATA}{no}{yes}}
deny domains = +test_domains
local_parts = +test_local_parts
message = \$domain_data=$domain_data \$local_part_data=$local_part_data
# ----- Routers -----
begin routers
r1:
driver = redirect
domains = lsearch;DIR/aux-fixed/TESTNUM.data
local_parts = lsearch;DIR/aux-fixed/TESTNUM.data
data =
debug_print = r1: \$domain_data = $domain_data\n\
$router_name: \$local_part_data = $local_part_data
r2:
driver = redirect
domains = lsearch;DIR/aux-fixed/TESTNUM.data
local_parts = lsearch;DIR/aux-fixed/TESTNUM.data
data =
debug_print = r2: \$domain_data = $domain_data\n\
$router_name: \$local_part_data = $local_part_data
r3:
driver = redirect
domains = +test_domains
local_parts = +test_local_parts
data =
debug_print = r3: \$domain_data = $domain_data\n\
$router_name: \$local_part_data = $local_part_data
r4:
driver = accept
domains = +test_domains
local_parts = +test_local_parts
transport = t1
debug_print = r4: \$domain_data = $domain_data\n\
$router_name: \$local_part_data = $local_part_data
# ----- Transports -----
begin transports
t1:
driver = appendfile
file = /dev/null
user = CALLER
# End
|