DMARC: fix reporting, no-ARC-support case
authorJeremy Harris <jgh146exb@wizmail.org>
Sat, 25 Nov 2023 15:46:12 +0000 (15:46 +0000)
committerJeremy Harris <jgh146exb@wizmail.org>
Sat, 25 Nov 2023 15:46:12 +0000 (15:46 +0000)
src/src/dmarc.c

index 042ebe982d8efd0ed0475756f39fdf92e60f27ee..f684e08ea898f0a37c37bdfcf596a0f0444f8437 100644 (file)
@@ -311,7 +311,7 @@ g = string_fmt_append(g, "align_dkim %d\nalign_spf %d\naction %d\n",
 # ifdef EXPERIMENTAL_ARC
 g = arc_dmarc_hist_append(g);
 # else
 # ifdef EXPERIMENTAL_ARC
 g = arc_dmarc_hist_append(g);
 # else
-g = string_fmt_append(g, "arc %d\narc_policy $d json:[]\n",
+g = string_fmt_append(g, "arc %d\narc_policy %d json:[]\n",
                      ARES_RESULT_UNKNOWN, DMARC_ARC_POLICY_RESULT_UNUSED);
 # endif
 #endif
                      ARES_RESULT_UNKNOWN, DMARC_ARC_POLICY_RESULT_UNUSED);
 # endif
 #endif