From: Jean-Marc Pigeon Date: Sun, 16 Nov 2025 21:43:05 +0000 (-0500) Subject: SPF detection seems to be working X-Git-Tag: tag-0.18~34 X-Git-Url: https://jmp-git.ovh.safe.ca/?a=commitdiff_plain;h=61e96af8bb4c3850742f3682d15f9764e359f67f;p=jmp%2Fmailleur SPF detection seems to be working --- 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);