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
|
diff --git a/opendmarc/opendmarc.c b/opendmarc/opendmarc.c
index bdad10d..d29036f 100644
--- a/opendmarc/opendmarc.c
+++ b/opendmarc/opendmarc.c
@@ -3005,19 +3005,9 @@ mlfi_eom(SMFICTX *ctx)
dmarcf_dstring_printf(dfc->mctx_afrf, "Date: %s\n",
timebuf);
- h = dmarcf_findheader(dfc, "subject", 0);
- if (h == NULL)
- {
- dmarcf_dstring_printf(dfc->mctx_afrf,
- "Subject: DMARC failure report for job %s\n",
- dfc->mctx_jobid);
- }
- else
- {
- dmarcf_dstring_printf(dfc->mctx_afrf,
- "Subject: FW: %s\n",
- h->hdr_value);
- }
+ dmarcf_dstring_printf(dfc->mctx_afrf,
+ "Subject: DMARC failure report for %s received from %s\n",
+ dfc->mctx_fromdomain, cc->cctx_host);
dmarcf_dstring_cat(dfc->mctx_afrf,
"MIME-Version: 1.0\n");
|