Guard loadable module vars with LOOKUP_MODULE_DIR.
[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
6rfc1413_query_timeout = 0s
7spool_directory = DIR/spool
8log_file_path = DIR/spool/log/%slog
9gecos_pattern = ""
10gecos_name = CALLER_NAME
11
12# ----- Main settings -----
13
14domainlist local_domains = test.ex
15
16acl_smtp_rcpt = acl_rcpt
17acl_smtp_data = acl_data
18
19
20# ------ ACLs ------
21
22begin acl
23
24acl_rcpt:
25 accept endpass
26 message = SIZE value too big
27 condition = ${if > {$message_size}{10}{no}{yes}}
28
29acl_data:
30 accept endpass
31 message = message too big - \$recipients=$recipients ($recipients_count)
32 condition = ${if > {$message_size}{10}{no}{yes}}
33
34
35# ------ Routers ------
36
37begin routers
38
39r1:
40 driver = dnslookup
41 domains = ! +local_domains
42 transport = dev_null
43 no_more
44
45r2:
46 driver = accept
47 local_parts = userx : postmaster
48 transport = local_delivery
49
50
51# ------ Transports ------
52
53begin transports
54
55dev_null:
56 driver = appendfile
57 file = /dev/null
58 user = CALLER
59
60local_delivery:
61 driver = appendfile
62 file = DIR/test-mail/$local_part
63 user = CALLER
64
65# End