Logging: add I= element to transport-defer lines. Bug 2675
[exim.git] / test / confs / 0606
1 # Exim test configuration 0606
2
3 .include DIR/aux-var/std_conf_prefix
4
5
6 # ----- Main settings -----
7
8 domainlist local_domains = test.ex
9 qualify_domain = test.ex
10
11 acl_not_smtp = not_smtp
12
13 begin acl
14
15 not_smtp:
16   accept log_message = rcpts <$recipients> local_part <$local_part>
17
18 # ----- Routers -----
19
20 begin routers
21
22 hide_verifies:
23   driver =      accept
24   verify_only
25
26 alias:
27   driver =      redirect
28   debug_print = DEBUG: $r_r1 $r_r2
29   data =        b
30                 # r_r1 checks that a variable with tainted data is ok
31                 #       that the default list-sep ":" is not used for this list
32                 #       that an '=' on the RHS is ok
33   set =         r_r1 = <$local_part> aaa:bbb bar=baz
34                 # r_local checks that a variable is immediately usable
35   set =         r_local = check
36   errors_to =   bad_$r_local
37
38 user:
39   driver =      accept
40   debug_print = DEBUG: $r_r1 $r_r2
41                 # r_r1 vs. r_r2 checks we can have multiple "set" options
42   set =         r_r1 = $local_part
43   set =         r_r2 = $local_part \
44                         2a00:1940:100::ff:0:1 \
45                         foo=bar \
46                         # check we can get a newline into content
47                         newline=initial\n\tcont \
48                         # check we can get a list-sep into content (by doubling)
49                         semicolon=initial;;cont \
50                 ; \
51                 # r_r3 checks we can have a list as arg for a "set" option
52                 r_r3 = bletch
53   transport =   local_delivery
54
55
56 # ----- Transports -----
57
58 begin transports
59
60 local_delivery:
61   driver = appendfile
62   envelope_to_add
63   file = DIR/test-mail/${bless:$local_part}
64   user = CALLER
65   headers_add = X-r1: <$r_r1>\nX-r2: <$r_r2>\nX-r3: <$r_r3>
66
67
68 # End