SECURITY: Leave a clean smtp_out input buffer even in case of read error
[exim.git] / test / confs / 0580
1 # Exim test configuration 0580
2
3 OPT =
4
5 .include DIR/aux-var/std_conf_prefix
6
7 primary_hostname = myhost.test.ex
8
9 # ----- Main settings -----
10
11 acl_smtp_rcpt = check_rcpt
12
13 log_selector = +received_recipients
14 OPT
15
16 # ----- ACLs -----
17
18 begin acl
19
20 check_rcpt:
21   accept
22         local_parts =   delay : remote
23         verify =        recipient/callout=2s,use_sender,defer_ok,hold
24
25   accept
26         local_parts =   local
27
28   accept
29         verify = recipient/callout=use_sender,hold
30
31 # ----- Routers -----
32
33 begin routers
34
35 r_local:
36   driver =      accept
37   local_parts = local
38   transport =   local_deliv
39
40 r_remote:
41   driver =      manualroute
42   route_list = * 127.0.0.1
43   self =        send
44   transport =   t1
45
46
47 begin transports
48
49 local_deliv:
50   driver =      appendfile
51   file =        DIR/test-mail/$local_part_data
52   user =        CALLER
53
54 t1:
55   driver = smtp
56   port =   PORT_S
57   hosts_try_fastopen = :
58
59 # ----- Retry -----
60 begin retry
61
62 * * F,5d,10s
63 # End