summaryrefslogtreecommitdiff
path: root/test/confs/0032
blob: df02a034a9b269810a0fee7c4bfd1504655191d9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
# Exim test configuration 0032

.include DIR/aux-var/std_conf_prefix

primary_hostname = myhost.ex


# ----- Main settings -----

dsn_from = MailProgram <xyz@some.where>

acl_not_smtp = add_insane_refs


# ----- ACL -----

begin acl

# Put an overlong refs header on the message-to-be-bounced, so we can check the
# bounce has a sane header

add_insane_refs:
  warn	!senders =	:
  	add_header =	References: \
			<0.ZERO.78901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678@f.net> \
			<0.ONE.678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678@f.net> \
			<0.TWO.678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678@f.net> \
			<0.THREE.678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678@f.net> \
			<0.FOUR.678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678@f.net> \
			<0.FIVE.678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678@f.net> \
			<0.SIX.678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678@f.net> \
			<0.SEVEN.678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678@f.net> \
			<0.EIGHT.678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678@f.net> \
			<0.NINE.678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678@f.net> \
			<0.TEN.678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678@f.net> \
			<0.ELEVEN.678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678@f.net> \
			<0.TWELVE.678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678@f.net>
  accept

# ----- Routers -----

begin routers

localuser:
  driver = accept
  check_local_user
  transport = local_delivery

others:
  driver = dnslookup
  transport = smtp
  self = fail


# ----- Transports -----

begin transports

local_delivery:
  driver = appendfile
  delivery_date_add
  envelope_to_add
  file = DIR/test-mail/$local_part
  create_file = DIR/test-mail
  return_path_add

smtp:
  driver = smtp
  hosts_try_fastopen =	:


# End