Docs: add info on router variable evaluation order
[users/heiko/exim.git] / test / confs / 0351
1 # Exim test configuration 0351
2
3 .include DIR/aux-var/std_conf_prefix
4
5
6 # ----- Main settings -----
7
8 domainlist local_domains = test.ex
9
10 qualify_domain = test.ex
11 system_filter = DIR/aux-fixed/TESTNUM.F
12
13
14 # ----- Routers -----
15
16 begin routers
17
18 r1:
19   driver = accept
20   transport = t1
21   headers_add = ${if !eq{$h_found2:}{}{FOUND-found2: !!}fail}
22
23 # ----- Transports -----
24
25 begin transports
26
27 t1:
28   driver = appendfile
29   user = CALLER
30   file = DIR/test-mail/${bless:$local_part}
31   headers_add = "\n\
32                 TO: $h_to:\n\
33                 --------------------------------\n\
34                 CC: $h_cc:\n\
35                 --------------------------------\n\
36                 RESENT-TO: $h_resent-to:\n\
37                 --------------------------------\n\
38                 REPLY-TO: $h_reply-to:\n\
39                 --------------------------------\n\
40                 SUBJECT: $h_subject:\n\
41                 --------------------------------\n\
42                 ALL: $message_headers\n\
43                 "
44
45 # End