Repository navigation
Expand file tree
/
Copy pathsample-report.xml
More file actions
323 lines (311 loc) · 8.86 KB
/
Copy pathsample-report.xml
File metadata and controls
323 lines (311 loc) · 8.86 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
<?xml version="1.0" encoding="UTF-8"?>
<!--
Synthetic DMARC aggregate report for trying out dmarc-tui.
Every domain, organization name, IP address, and report ID below is
fictional. Domains use the IANA-reserved documentation names
(example.com / example.net / example.org, RFC 2606) and addresses come
from the reserved documentation ranges (RFC 5737 / RFC 3849) — none of
it resolves to or describes any real sender, receiver, or organization.
The records are deliberately varied so the tool's full range shows up:
clean passes, alignment-only "needs review" cases (the classic
mailing-list/ESP pattern), outright failures with different
dispositions, an IPv6 source, multiple DKIM signatures on one message,
and an SPF <domain> populated with a bare IP (a real-world quirk some
report generators produce when there's no HELO/MAIL FROM domain).
-->
<feedback>
<report_metadata>
<org_name>Example Reporting Org</org_name>
<email>dmarc-reports@reporter.example</email>
<report_id>example-00000001.1780272000.1780358400</report_id>
<date_range>
<begin>1780272000</begin>
<end>1780358400</end>
</date_range>
</report_metadata>
<policy_published>
<domain>example.com</domain>
<adkim>r</adkim>
<aspf>r</aspf>
<p>quarantine</p>
<sp>quarantine</sp>
<pct>100</pct>
</policy_published>
<!-- Clean pass: both mechanisms authenticate and align. -->
<record>
<row>
<source_ip>203.0.113.10</source_ip>
<count>5400</count>
<policy_evaluated>
<disposition>none</disposition>
<dkim>pass</dkim>
<spf>pass</spf>
</policy_evaluated>
</row>
<identifiers>
<header_from>example.com</header_from>
</identifiers>
<auth_results>
<dkim>
<domain>example.com</domain>
<selector>selector1</selector>
<result>pass</result>
</dkim>
<spf>
<domain>example.com</domain>
<result>pass</result>
</spf>
</auth_results>
</record>
<!-- Clean pass via a second selector — same shape, different sender path. -->
<record>
<row>
<source_ip>198.51.100.23</source_ip>
<count>3210</count>
<policy_evaluated>
<disposition>none</disposition>
<dkim>pass</dkim>
<spf>pass</spf>
</policy_evaluated>
</row>
<identifiers>
<header_from>example.com</header_from>
</identifiers>
<auth_results>
<dkim>
<domain>example.com</domain>
<selector>selector2</selector>
<result>pass</result>
</dkim>
<spf>
<domain>example.com</domain>
<result>pass</result>
</spf>
</auth_results>
</record>
<!-- Relaxed alignment: signed/sent from a subdomain, still aligns to the
organizational domain (mail.example.com -> example.com). -->
<record>
<row>
<source_ip>192.0.2.55</source_ip>
<count>980</count>
<policy_evaluated>
<disposition>none</disposition>
<dkim>pass</dkim>
<spf>pass</spf>
</policy_evaluated>
</row>
<identifiers>
<header_from>example.com</header_from>
</identifiers>
<auth_results>
<dkim>
<domain>mail.example.com</domain>
<selector>mkt</selector>
<result>pass</result>
</dkim>
<spf>
<domain>mail.example.com</domain>
<result>pass</result>
</spf>
</auth_results>
</record>
<!-- Needs review: DKIM authenticates but for an unrelated (third-party
ESP) domain, so it can't align — classic mailing-list/ESP relay.
SPF authenticates and aligns, so DMARC still passes overall. -->
<record>
<row>
<source_ip>203.0.113.77</source_ip>
<count>540</count>
<policy_evaluated>
<disposition>none</disposition>
<dkim>fail</dkim>
<spf>pass</spf>
</policy_evaluated>
</row>
<identifiers>
<header_from>example.com</header_from>
</identifiers>
<auth_results>
<dkim>
<domain>newsletter.example.net</domain>
<selector>es1</selector>
<result>pass</result>
</dkim>
<spf>
<domain>example.com</domain>
<result>pass</result>
</spf>
</auth_results>
</record>
<!-- Needs review, the other way round: DKIM authenticates and aligns,
but SPF was checked against an unrelated bounce/return-path domain
and can't align — common with forwarded or relayed mail. -->
<record>
<row>
<source_ip>198.51.100.88</source_ip>
<count>410</count>
<policy_evaluated>
<disposition>none</disposition>
<dkim>pass</dkim>
<spf>fail</spf>
</policy_evaluated>
</row>
<identifiers>
<header_from>example.com</header_from>
</identifiers>
<auth_results>
<dkim>
<domain>example.com</domain>
<selector>bulk</selector>
<result>pass</result>
</dkim>
<spf>
<domain>bounce.example.org</domain>
<result>fail</result>
</spf>
</auth_results>
</record>
<!-- Outright fail: a broken/expired DKIM signature plus an SPF
softfail, neither aligns — quarantined by policy. -->
<record>
<row>
<source_ip>192.0.2.150</source_ip>
<count>260</count>
<policy_evaluated>
<disposition>quarantine</disposition>
<dkim>fail</dkim>
<spf>fail</spf>
</policy_evaluated>
</row>
<identifiers>
<header_from>example.com</header_from>
</identifiers>
<auth_results>
<dkim>
<domain>example.com</domain>
<selector>old</selector>
<result>fail</result>
</dkim>
<spf>
<domain>example.com</domain>
<result>softfail</result>
</spf>
</auth_results>
</record>
<!-- Fail with no DKIM signature at all, and an SPF check that the
sending system could only report against the connecting host's
bare IP (no HELO/MAIL FROM domain to record) — rejected by policy. -->
<record>
<row>
<source_ip>203.0.113.201</source_ip>
<count>130</count>
<policy_evaluated>
<disposition>reject</disposition>
<dkim>fail</dkim>
<spf>fail</spf>
</policy_evaluated>
</row>
<identifiers>
<header_from>example.com</header_from>
</identifiers>
<auth_results>
<dkim>
<domain></domain>
<result>none</result>
</dkim>
<spf>
<domain>192.0.2.201</domain>
<result>fail</result>
</spf>
</auth_results>
</record>
<!-- IPv6 source, clean pass — confirms IPv6 addresses sort and render
the same as IPv4 ones. -->
<record>
<row>
<source_ip>2001:db8::1</source_ip>
<count>75</count>
<policy_evaluated>
<disposition>none</disposition>
<dkim>pass</dkim>
<spf>pass</spf>
</policy_evaluated>
</row>
<identifiers>
<header_from>example.com</header_from>
</identifiers>
<auth_results>
<dkim>
<domain>example.com</domain>
<selector>selector1</selector>
<result>pass</result>
</dkim>
<spf>
<domain>example.com</domain>
<result>pass</result>
</spf>
</auth_results>
</record>
<!-- Likely spoofing attempt: nothing authenticates, nothing aligns,
From: claims example.com but every check points elsewhere. -->
<record>
<row>
<source_ip>198.51.100.5</source_ip>
<count>45</count>
<policy_evaluated>
<disposition>reject</disposition>
<dkim>fail</dkim>
<spf>fail</spf>
</policy_evaluated>
</row>
<identifiers>
<header_from>example.com</header_from>
</identifiers>
<auth_results>
<dkim>
<domain>spoofed-example.net</domain>
<selector>x</selector>
<result>fail</result>
</dkim>
<spf>
<domain>spoofed-example.net</domain>
<result>fail</result>
</spf>
</auth_results>
</record>
<!-- Multiple DKIM signatures on one message (forwarders and mailing
lists often add their own on top of the original): the first
authenticates and aligns, so DMARC passes on DKIM even though a
second, unrelated signature fails. -->
<record>
<row>
<source_ip>192.0.2.250</source_ip>
<count>12</count>
<policy_evaluated>
<disposition>none</disposition>
<dkim>pass</dkim>
<spf>pass</spf>
</policy_evaluated>
</row>
<identifiers>
<header_from>example.com</header_from>
</identifiers>
<auth_results>
<dkim>
<domain>example.com</domain>
<selector>selector1</selector>
<result>pass</result>
</dkim>
<dkim>
<domain>thirdparty.example.org</domain>
<selector>selector2</selector>
<result>fail</result>
</dkim>
<spf>
<domain>example.com</domain>
<result>pass</result>
</spf>
</auth_results>
</record>
</feedback>