From 61e96af8bb4c3850742f3682d15f9764e359f67f Mon Sep 17 00:00:00 2001 From: Jean-Marc Pigeon Date: Sun, 16 Nov 2025 16:43:05 -0500 Subject: [PATCH] SPF detection seems to be working --- lib/gesspf.c | 1 - lib/lvleml.c | 3 +++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/gesspf.c b/lib/gesspf.c index 3e20e6a..8dd8c3f 100644 --- a/lib/gesspf.c +++ b/lib/gesspf.c @@ -654,7 +654,6 @@ char *domain; spf=spf_unknown; domain=strchr(mailfrom,'@'); -(void) rou_dbglive(9,OPEP,"Domain=<%s>",domain); if (domain!=(char *)0) domain++; if (domain!=(char *)0) { diff --git a/lib/lvleml.c b/lib/lvleml.c index eed41e5..91c7faf 100644 --- a/lib/lvleml.c +++ b/lib/lvleml.c @@ -1773,6 +1773,9 @@ while (proceed==true) { break; case 5 : //Checking if the SPF is good from the originator contact->fromspf=spf_getspf(mailfrom,contact->peerip); + (void) rou_dbglive(5,OPEP,"found SPF for <%s/[%s]> SPF set to <%s>", + mailfrom,contact->peerip, + spf_spfASCII(contact->fromspf)); break; case 6 : //everything ok contact->mailfrom=strdup(mailfrom); -- 2.47.3