Pass on SIZE to cutthrough connection
[users/jgh/exim.git] / test / confs / 0138
1 # Exim test configuration 0138
2
3 exim_path = EXIM_PATH
4 keep_environment =
5 host_lookup_order = bydns
6 spool_directory = DIR/spool
7 log_file_path = DIR/spool/log/%slog
8 gecos_pattern = ""
9 gecos_name = CALLER_NAME
10 tls_advertise_hosts =
11
12 # ----- Main settings -----
13
14 acl_smtp_rcpt = check_recipient
15
16 domainlist local_domains = exim.test.ex
17
18 # ----- ACL -----
19
20 begin acl
21
22 check_recipient:
23   accept  hosts = :
24   accept  recipients = postmaster@exim.test.ex
25   accept  dnslists = rbl3.test.ex
26   deny    message = host is listed in $dnslist_domain
27           dnslists = rbl2.test.ex
28   warn    message = X-Warning: $sender_host_address is listed at $dnslist_domain
29           dnslists = rbl.test.ex
30   require verify = sender
31   deny    message = unrouteable address
32          !verify = recipient
33   accept  domains = +local_domains
34   accept  domains = +relay_domains
35   deny    message = relay not permitted
36
37
38 # ----- Routers -----
39
40 begin routers
41
42 system_aliases:
43   driver = redirect
44   allow_defer
45   data = ${lookup{$local_part}lsearch{DIR/aux-fixed/TESTNUM.aliases}}
46   qualify_preserve_domain
47   retry_use_local_part
48
49 localuser:
50   driver = accept
51   local_parts = userx
52   transport = local_delivery
53
54
55 # ----- Transports -----
56
57 begin transports
58
59 local_delivery:
60   driver = appendfile
61   delivery_date_add
62   envelope_to_add
63   file = DIR/test-mail/$local_part
64   return_path_add
65   user = CALLER
66
67 file:
68   driver = appendfile
69   user = CALLER
70
71
72 # ----- Retry -----
73
74 # End