Testsuite: testcase for empty-var followed by expansion-op
[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/$local_part
31   create_file = DIR/test-mail
32   headers_add = "\n\
33                 TO: $h_to:\n\
34                 --------------------------------\n\
35                 CC: $h_cc:\n\
36                 --------------------------------\n\
37                 RESENT-TO: $h_resent-to:\n\
38                 --------------------------------\n\
39                 REPLY-TO: $h_reply-to:\n\
40                 --------------------------------\n\
41                 SUBJECT: $h_subject:\n\
42                 --------------------------------\n\
43                 ALL: $message_headers\n\
44                 "
45
46 # End