SRS: avoid expanding ${srs_encode...} when guarded by ${if...}
[exim.git] / test / confs / 9400
1 # Exim test configuration 9400
2
3 .include DIR/aux-var/std_conf_prefix
4
5 trusted_users = CALLER
6 primary_hostname = myhost.test.ex
7
8 # ----- Main settings -----
9
10 domainlist local_domains = test.ex
11
12 acl_smtp_rcpt = accept
13 local_scan_timeout = 1s
14
15
16 # ----- Local_scan -----
17
18 begin local_scan
19
20 local_scan_int = 24
21 local_scan_string = the quick brown fox
22
23
24 # ------ Routers ------
25
26 begin routers
27
28 r0:
29   driver = redirect
30   local_parts = bounce
31   allow_fail
32   data = :fail: bounced (:fail:)
33
34 r1:
35   driver = accept
36   transport = local_delivery
37
38
39 # ------ Transports ------
40
41 begin transports
42
43 local_delivery:
44   driver = appendfile
45   file = DIR/test-mail/$local_part
46   create_file = DIR/test-mail
47   user = CALLER
48   headers_add = ${if eq {$local_scan_data}{}{}{LSD: $local_scan_data}}
49
50 # End