summaryrefslogtreecommitdiffstats
path: root/network/opendmarc/patches/z02_content-description.patch
blob: 838def9c7b030cd5eb428d7553c1597144276b1a (plain)
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
diff --git a/opendmarc/opendmarc.c b/opendmarc/opendmarc.c
index 0645bcf..2a60b92 100644
--- a/opendmarc/opendmarc.c
+++ b/opendmarc/opendmarc.c
@@ -2852,6 +2852,7 @@ mlfi_eom(SMFICTX *ctx)
 
 			dmarcf_dstring_printf(dfc->mctx_afrf,
 			                      "--%s:%s\n"
+			                      "Content-Description: Notification\n"
 			                      "Content-Type: text/plain\n\n",
 			                      hostname, dfc->mctx_jobid);
 
@@ -2864,6 +2865,7 @@ mlfi_eom(SMFICTX *ctx)
 
 			dmarcf_dstring_printf(dfc->mctx_afrf,
 			                      "--%s:%s\n"
+			                      "Content-Description: DMARC failure report\n"
 			                      "Content-Type: message/feedback-report\n\n",
 			                      hostname, dfc->mctx_jobid);
 
@@ -2902,6 +2904,7 @@ mlfi_eom(SMFICTX *ctx)
 
 			dmarcf_dstring_printf(dfc->mctx_afrf,
 			                      "--%s:%s\n"
+					      "Content-Description: Failed message headers\n"
 			                      "Content-Type: text/rfc822-headers\n\n",
 			                      hostname, dfc->mctx_jobid);