]> SAFE projects GIT repository - jmp/mailleur/commitdiff
SPF detection seems to be working
authorJean-Marc Pigeon <jmp@safe.c>
Sun, 16 Nov 2025 21:43:05 +0000 (16:43 -0500)
committerJean-Marc Pigeon <jmp@safe.c>
Sun, 16 Nov 2025 21:43:05 +0000 (16:43 -0500)
lib/gesspf.c
lib/lvleml.c

index 3e20e6a6e76d648fc65bb4ed17ae7dda85adcc53..8dd8c3f66691e70d5bf97c1724eecb93d508c5cb 100644 (file)
@@ -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) {
index eed41e59b0c79de0d98c16935ae2db155d13e0c3..91c7fafcd1bacf456b366c1e8e8b0d50028fb25d 100644 (file)
@@ -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);