summaryrefslogtreecommitdiff
path: root/test/confs/0140
blob: 3e6854a440beeb914ebe03399d34163eaeefce83 (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
# Exim test configuration 0140

.include DIR/aux-var/std_conf_prefix


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

qualify_domain = test.ex


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

begin routers

caller:
  driver = accept
  local_parts = CALLER
  retry_use_local_part
  transport = local_delivery

reply:
  driver = accept
  retry_use_local_part
  senders = !
  transport = ${if eq {reply1}{$local_part} {reply1}{reply2}}


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

begin transports

reply1:
  driver = autoreply
  text = "Test auto reply to $h_subject:\nthis is another line"
  to = Reply Person <$sender_address>
  user = EXIMUSER

reply2:
  driver = autoreply
  subject = "Re: $h_subject:"
  to = $reply_address
  user = EXIMUSER

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


# End