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