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

.include DIR/aux-var/std_conf_prefix


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

domainlist local_domains = test.ex

qualify_domain = test.ex
system_filter = DIR/aux-fixed/TESTNUM.F


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

begin routers

r1:
  driver = accept
  transport = t1
  headers_add = ${if !eq{$h_found2:}{}{FOUND-found2: !!}fail}

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

begin transports

t1:
  driver = appendfile
  user = CALLER
  file = DIR/test-mail/$local_part
  create_file = DIR/test-mail
  headers_add = "\n\
                TO: $h_to:\n\
                --------------------------------\n\
                CC: $h_cc:\n\
                --------------------------------\n\
                RESENT-TO: $h_resent-to:\n\
                --------------------------------\n\
                REPLY-TO: $h_reply-to:\n\
                --------------------------------\n\
                SUBJECT: $h_subject:\n\
                --------------------------------\n\
                ALL: $message_headers\n\
                "

# End