Testsuite: Add a first test for dns_trust_aa
[exim.git] / test / confs / 0028
CommitLineData
afda344b
PH
1# Exim test configuration 0028
2
3exim_path = EXIM_PATH
4host_lookup_order = bydns
5primary_hostname = myhost.test.ex
afda344b
PH
6spool_directory = DIR/spool
7log_file_path = DIR/spool/log/%slog
8gecos_pattern = ""
9gecos_name = CALLER_NAME
10
11# ----- Main settings -----
12
13domainlist local_domains = test.ex
14
15acl_smtp_rcpt = acl_rcpt
16acl_smtp_data = acl_data
17
18
19# ------ ACLs ------
20
21begin acl
22
23acl_rcpt:
24 accept endpass
25 message = SIZE value too big
26 condition = ${if > {$message_size}{10}{no}{yes}}
27
28acl_data:
29 accept endpass
30 message = message too big - \$recipients=$recipients ($recipients_count)
31 condition = ${if > {$message_size}{10}{no}{yes}}
32
33
34# ------ Routers ------
35
36begin routers
37
38r1:
39 driver = dnslookup
40 domains = ! +local_domains
41 transport = dev_null
42 no_more
43
44r2:
45 driver = accept
46 local_parts = userx : postmaster
47 transport = local_delivery
48
49
50# ------ Transports ------
51
52begin transports
53
54dev_null:
55 driver = appendfile
56 file = /dev/null
57 user = CALLER
58
59local_delivery:
60 driver = appendfile
61 file = DIR/test-mail/$local_part
62 user = CALLER
63
64# End