BUGFIX: forced-fail smtp option tls_sni would dereference NULL
[users/jgh/exim.git] / test / confs / 0566
1 # Exim test configuration 0028
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 gecos_pattern = ""
10 gecos_name = CALLER_NAME
11
12 # ----- Main settings -----
13
14 domainlist local_domains = test.ex
15
16 acl_smtp_rcpt = acl_rcpt
17 acl_smtp_data = acl_data
18
19
20 # ------ ACLs ------
21
22 begin acl
23
24 acl_rcpt:
25   accept endpass
26          message = SIZE value too big
27          condition = ${if > {$message_size}{10000}{no}{yes}}
28
29 acl_data:
30   accept endpass
31          message = message too big - \$recipients=$recipients ($recipients_count)
32          condition = ${if > {$message_size}{10000}{no}{yes}}
33
34
35 # ------ Routers ------
36
37 begin routers
38
39 r1:
40   driver = dnslookup
41   domains = ! +local_domains
42   transport = dev_null
43   no_more
44
45 r2:
46   driver = accept
47   local_parts = userx : postmaster
48   transport = local_delivery
49
50
51 # ------ Transports ------
52
53 begin transports
54
55 dev_null:
56   driver = appendfile
57   file = /dev/null
58   user = CALLER
59
60 local_delivery:
61   driver = appendfile
62   file = DIR/test-mail/$local_part
63   user = CALLER
64
65 # End