summaryrefslogtreecommitdiffstats
path: root/network/opendmarc/patches/z06_use_envdomain_SPF_logging.patch
blob: 3a702fe8c055bd2d2fbb9b3d874b8dead2392b55 (plain)
diff --git a/opendmarc/opendmarc.c b/opendmarc/opendmarc.c
index f5c30f9..29f3f93 100644
--- a/opendmarc/opendmarc.c
+++ b/opendmarc/opendmarc.c
@@ -2542,7 +2542,7 @@ mlfi_eom(SMFICTX *ctx)
 				&used_mfrom);
 			if (used_mfrom == TRUE)
 			{
-				use_domain = dfc->mctx_envfrom;
+				use_domain = dfc->mctx_envdomain;
 				spf_mode   = DMARC_POLICY_SPF_ORIGIN_MAILFROM;
 			}
 			else