DMARC: add ARC info to history records
[exim.git] / test / confs / 0307
1 # Exim test configuration 0307
2
3 .include DIR/aux-var/std_conf_prefix
4
5 primary_hostname = myhost.test.ex
6
7 # ----- Main settings -----
8
9 acl_smtp_rcpt = accept
10 trusted_users = CALLER
11
12
13 # ------ Routers ------
14
15 begin routers
16
17 r1:
18   driver = redirect
19   domains = lists.test.ex
20   local_part_suffix = -request
21   local_part_suffix_optional
22   senders = ${if eq {$local_part_suffix}{-request} \
23               {*} \
24               {${lookup {$local_part} dsearch,ret=full {DIR/aux-fixed/TESTNUM} {$value}{*}}} }
25   file = ${lookup {$local_part$local_part_suffix} dsearch,ret=full {DIR/aux-fixed/TESTNUM} {$value}fail}
26   forbid_pipe
27   forbid_file
28   one_time
29   skip_syntax_errors
30   errors_to = $local_part-request@lists.test.ex
31   syntax_errors_to = $local_part-request@lists.test.ex
32
33 r2:
34   driver = redirect
35   domains = lists.test.ex
36   allow_fail
37   data = :fail: $local_part@lists.test.ex is a closed mailing list
38
39 r3:
40   driver = accept
41   senders = :
42   transport = t1
43
44 r4:
45   driver = accept
46   transport = t2
47
48
49 # ------ Transports ------
50
51 begin transports
52
53 t1:
54   driver = appendfile
55   file = DIR/test-mail/$local_part
56   create_file = DIR/test-mail
57   user = CALLER
58
59 t2:
60   driver = appendfile
61   file = /dev/null
62   user = CALLER
63
64 # End