Cutthrough: expand transport dkim_domain option when testing for dkim signing
[exim.git] / test / confs / 0307
CommitLineData
37ff4e03 1# Exim test configuration 0307
afda344b
PH
2
3exim_path = EXIM_PATH
bc3c7bb7 4keep_environment =
afda344b
PH
5host_lookup_order = bydns
6primary_hostname = myhost.test.ex
afda344b
PH
7spool_directory = DIR/spool
8log_file_path = DIR/spool/log/%slog
9gecos_pattern = ""
10gecos_name = CALLER_NAME
23f3dc67 11tls_advertise_hosts =
afda344b
PH
12
13# ----- Main settings -----
14
15acl_smtp_rcpt = accept
16trusted_users = CALLER
17
18
19# ------ Routers ------
20
21begin routers
22
23r1:
24 driver = redirect
25 domains = lists.test.ex
26 local_part_suffix = -request
27 local_part_suffix_optional
28 senders = ${if eq {$local_part_suffix}{-request}{*}\
29 {\
30 ${if exists {DIR/aux-fixed/TESTNUM/$local_part}\
31 {lsearch;DIR/aux-fixed/TESTNUM/$local_part}{*}}\
32 }}
33 file = DIR/aux-fixed/TESTNUM/$local_part$local_part_suffix
34 forbid_pipe
35 forbid_file
36 one_time
37 skip_syntax_errors
38 errors_to = $local_part-request@lists.test.ex
39 syntax_errors_to = $local_part-request@lists.test.ex
40
41r2:
42 driver = redirect
43 domains = lists.test.ex
44 allow_fail
45 data = :fail: $local_part@lists.test.ex is a closed mailing list
46
47r3:
48 driver = accept
49 senders = :
50 transport = t1
51
52r4:
53 driver = accept
54 transport = t2
55
56
57# ------ Transports ------
58
59begin transports
60
61t1:
62 driver = appendfile
63 file = DIR/test-mail/$local_part
64 user = CALLER
65
66t2:
67 driver = appendfile
68 file = /dev/null
69 user = CALLER
70
71# End