Merge branch 'exim-4.96+security'
[exim.git] / test / confs / 0032
1 # Exim test configuration 0032
2
3 .include DIR/aux-var/std_conf_prefix
4
5 primary_hostname = myhost.ex
6
7
8 # ----- Main settings -----
9
10 dsn_from = MailProgram <xyz@some.where>
11
12 acl_not_smtp = add_insane_refs
13
14
15 # ----- ACL -----
16
17 begin acl
18
19 # Put an overlong refs header on the message-to-be-bounced, so we can check the
20 # bounce has a sane header
21
22 add_insane_refs:
23   warn  !senders =      :
24         add_header =    References: \
25                         <0.ZERO.78901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678@f.net> \
26                         <0.ONE.678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678@f.net> \
27                         <0.TWO.678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678@f.net> \
28                         <0.THREE.678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678@f.net> \
29                         <0.FOUR.678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678@f.net> \
30                         <0.FIVE.678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678@f.net> \
31                         <0.SIX.678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678@f.net> \
32                         <0.SEVEN.678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678@f.net> \
33                         <0.EIGHT.678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678@f.net> \
34                         <0.NINE.678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678@f.net> \
35                         <0.TEN.678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678@f.net> \
36                         <0.ELEVEN.678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678@f.net> \
37                         <0.TWELVE.678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678@f.net>
38   accept
39
40 # ----- Routers -----
41
42 begin routers
43
44 localuser:
45   driver = accept
46   check_local_user
47   transport = local_delivery
48
49 others:
50   driver = dnslookup
51   transport = smtp
52   self = fail
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   create_file = DIR/test-mail
65   return_path_add
66
67 smtp:
68   driver = smtp
69   hosts_try_fastopen =  :
70
71
72 # End