Setup for >2 sha methods
[users/jgh/exim.git] / test / confs / 0566
1 # Exim test configuration 0566
2
3 exim_path = EXIM_PATH
4 keep_environment =
5 host_lookup_order = bydns
6 primary_hostname = myhost.test.ex
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 tls_advertise_hosts =
13
14 # ----- Main settings -----
15
16 domainlist local_domains = test.ex
17
18 acl_smtp_rcpt = acl_rcpt
19 acl_smtp_data = acl_data
20
21
22 # ------ ACLs ------
23
24 begin acl
25
26 acl_rcpt:
27   accept endpass
28          message = SIZE value too big
29          condition = ${if > {$message_size}{10000}{no}{yes}}
30
31 acl_data:
32   accept endpass
33          message = message too big - \$recipients=$recipients ($recipients_count)
34          condition = ${if > {$message_size}{10000}{no}{yes}}
35
36
37 # ------ Routers ------
38
39 begin routers
40
41 r1:
42   driver = dnslookup
43   domains = ! +local_domains
44   transport = dev_null
45   no_more
46
47 r2:
48   driver = accept
49   local_parts = userx : postmaster
50   transport = local_delivery
51
52
53 # ------ Transports ------
54
55 begin transports
56
57 dev_null:
58   driver = appendfile
59   file = /dev/null
60   user = CALLER
61
62 local_delivery:
63   driver = appendfile
64   file = DIR/test-mail/$local_part
65   user = CALLER
66
67 # End