Testsuite: add with-dkim case to DMARC testcase
[exim.git] / test / confs / 0100
1 # Exim test configuration 0100
2
3 .include DIR/aux-var/std_conf_prefix
4
5
6 # ----- Main settings -----
7
8 domainlist local_domains = test.ex
9
10 qualify_domain = test.ex
11
12 # ----- Routers -----
13
14 begin routers
15
16 filtered:
17   driver = manualroute
18   domains = ! +local_domains
19   route_list = filtered.com 127.0.0.1 byname
20   self = send
21   transport = filtered_smtp
22
23 rest:
24   driver = manualroute
25   domains = ! +local_domains
26   route_list = * 127.0.0.1 byname
27   self = send
28   transport = smtp
29   no_more
30
31 batch_localuser:
32   driver = accept
33   local_part_prefix = batch-
34   transport = batch_local_delivery
35
36 mmdf_localuser:
37   driver = accept
38   local_part_prefix = mmdf-
39   transport = mmdf_local_delivery
40
41 filtered_localuser:
42   driver = accept
43   local_part_prefix = filter-
44   transport = filtered_local_delivery
45
46 hackfree_localuser:
47   driver = accept
48   local_parts = usery
49   transport = hackfree_local_delivery
50
51 bsmtp_localuser:
52   driver = accept
53   local_parts = userz
54   transport = bsmtp_local_delivery
55
56 bsmtp_localuser_filtered:
57   driver = accept
58   local_parts = userw
59   retry_use_local_part
60   transport = bsmtp_local_delivery_filtered
61
62 localuser:
63   driver = accept
64   local_parts = userx
65   transport = local_delivery
66
67
68 # ----- Transports -----
69
70 begin transports
71
72 smtp:
73   driver = smtp
74   port = PORT_S
75   hosts_try_fastopen = :
76
77 filtered_smtp:
78   driver = smtp
79   port = PORT_S
80   hosts_try_fastopen = :
81   transport_filter = /bin/sh -c "echo 'X-Filtered: just checking'; cat"
82
83 local_delivery:
84   driver = appendfile
85   delivery_date_add
86   envelope_to_add
87   file = DIR/test-mail/$local_part
88   create_file = DIR/test-mail
89   return_path_add
90   current_directory = /
91   user = CALLER
92
93 hackfree_local_delivery:
94   driver = appendfile
95   delivery_date_add
96   envelope_to_add
97   file = DIR/test-mail/$local_part
98   create_file = DIR/test-mail
99   check_string =
100   return_path_add
101   user = CALLER
102   current_directory = /
103
104 bsmtp_local_delivery:
105   driver = appendfile
106   batch_max = 100
107   use_bsmtp
108   delivery_date_add
109   envelope_to_add
110   file = DIR/test-mail/$local_part
111   create_file = DIR/test-mail
112   return_path_add
113   user = CALLER
114   current_directory = /
115
116 bsmtp_local_delivery_filtered:
117   driver = appendfile
118   batch_max = 100
119   use_bsmtp
120   delivery_date_add
121   envelope_to_add
122   file = DIR/test-mail/$local_part
123   create_file = DIR/test-mail
124   return_path_add
125   transport_filter = /bin/sh -c "echo 'X-Filtered: just checking'; cat"
126   user = CALLER
127   current_directory = /
128
129 batch_local_delivery:
130   driver = appendfile
131   batch_max = 100
132   delivery_date_add
133   envelope_to_add
134   file = DIR/test-mail/CALLER
135   return_path_add
136   user = CALLER
137   current_directory = /
138
139 filtered_local_delivery:
140   driver = appendfile
141   delivery_date_add
142   envelope_to_add
143   file = DIR/test-mail/$local_part
144   create_file = DIR/test-mail
145   return_path_add
146   transport_filter = /bin/sh -c "echo 'X-Filtered: just checking'; cat"
147   current_directory = /
148   user = CALLER
149
150 mmdf_local_delivery:
151   driver = appendfile
152   check_string = "\1\1\1\1\n"
153   escape_string = "\1\1\1\1 \n"
154   file = DIR/test-mail/$local_part
155   create_file = DIR/test-mail
156   message_prefix = "\1\1\1\1\n"
157   message_suffix = "\1\1\1\1\n"
158   user = CALLER
159   current_directory = /
160
161 # End