1 # Exim test configuration 0606
3 .include DIR/aux-var/std_conf_prefix
6 # ----- Main settings -----
8 domainlist local_domains = test.ex
9 qualify_domain = test.ex
11 acl_not_smtp = not_smtp
16 accept log_message = rcpts <$recipients> local_part <$local_part>
34 set = r_srs_domain = ${lookup mysql{wrong things
35 transport = local_delivery
39 debug_print = DEBUG: $r_r1 $r_r2
41 # r_r1 checks that a variable with tainted data is ok
42 # that the default list-sep ":" is not used for this list
43 # that an '=' on the RHS is ok
44 set = r_r1 = <$local_part> aaa:bbb bar=baz
45 # r_local checks that a variable is immediately usable
47 errors_to = bad_$r_local
51 debug_print = DEBUG: $r_r1 $r_r2
52 # r_r1 vs. r_r2 checks we can have multiple "set" options
53 set = r_r1 = $local_part
54 set = r_r2 = $local_part \
55 2a00:1940:100::ff:0:1 \
57 # check we can get a newline into content
58 newline=initial\n\tcont \
59 # check we can get a list-sep into content (by doubling)
60 semicolon=initial;;cont \
62 # r_r3 checks we can have a list as arg for a "set" option
64 transport = local_delivery
67 # ----- Transports -----
74 file = DIR/test-mail/$local_part
75 create_file = DIR/test-mail
77 headers_add = X-r1: <$r_r1>\nX-r2: <$r_r2>\nX-r3: <$r_r3>