mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-07 20:27:02 +01:00
fe01e850a8
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
27 lines
928 B
Diff
27 lines
928 B
Diff
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");
|