SECURITY: off-by-one in smtp transport (read response)
[exim.git] / test / confs / 4050
1 # test config 4050
2 # Pipelining the early part of the SMTP conversation
3
4 CONNECTCOND=
5 CONTROL=
6 RETRY=7d
7
8 keep_environment = PATH
9 exim_path = EXIM_PATH
10 host_lookup_order = bydns
11 spool_directory = DIR/spool
12
13 .ifdef SERVER
14 log_file_path = DIR/spool/log/SERVER%slog
15 .else
16 log_file_path = DIR/spool/log/%slog
17 .endif
18
19 gecos_pattern = ""
20 gecos_name = CALLER_NAME
21 dns_cname_loops = 9
22 chunking_advertise_hosts =
23 tls_advertise_hosts =
24
25 .ifdef _HAVE_DMARC
26 dmarc_tld_file =
27 .endif
28 .ifdef _OPT_MAIN_LIMITS_ADVERTISE_HOSTS
29 limits_advertise_hosts = !*
30 .endif
31
32 pipelining_connect_advertise_hosts = CONNECTCOND
33 retry_data_expire = RETRY
34 log_selector = +received_recipients +pipelining
35 queue_only
36
37 acl_smtp_rcpt = accept
38
39 #
40 begin routers
41
42 server:
43   driver =      redirect
44   condition =   ${if eq {SERVER}{server}}
45   data =        :blackhole:
46
47 clientbounce:
48   driver =      redirect
49   condition =   ${if !def:sender_address}
50   data =        :blackhole:
51
52 client:
53   driver =      manualroute
54   route_data =  127.0.0.1::PORT_D
55   self =        send
56   transport =   smtp
57
58 #
59 begin transports
60
61 smtp:
62   driver =              smtp
63   hosts_try_fastopen =  :
64   hosts_pipe_connect =  CONTROL
65 .ifdef HELO_MSG
66   helo_data =           HELO_MSG
67 .endif
68   max_rcpt =            1
69
70 #
71 begin retry
72
73 * * F,5d,1d
74