From: Jean-Marc Pigeon Date: Mon, 17 Nov 2025 19:24:25 +0000 (-0500) Subject: Adjusting spf_neutral status usage X-Git-Tag: tag-0.18~28 X-Git-Url: https://jmp-git.ovh.safe.ca/?a=commitdiff_plain;h=7ab416206ef40b1f498612349e51b0a61ff09555;p=jmp%2Fmailleur Adjusting spf_neutral status usage --- diff --git a/data-spf/spf.tst b/data-spf/spf.tst index afb873c..c8f868e 100644 --- a/data-spf/spf.tst +++ b/data-spf/spf.tst @@ -24,3 +24,6 @@ spf_pass chkaddr.spf.example.com 0::ffff:127.0.1.255 spf_fail chkaddr.spf.example.com 0::ffff:127.0.3.1 spf_pass chkaddr.spf.example.com 0::ffff:127.0.3.255 #-------------------------------------------------------- +#test with gmail. +spf_pass gmail.com 74.125.224.54 +#-------------------------------------------------------- diff --git a/lib/lvleml.c b/lib/lvleml.c index 63b8740..0e41f2b 100644 --- a/lib/lvleml.c +++ b/lib/lvleml.c @@ -1881,6 +1881,7 @@ while (proceed==true) { break; case 6 : //IS originator spf good enough switch (contact->fromspf) { + case spf_neutral : //'~' status case spf_pass : //good SPF break; case spf_fail : //Bad SPF diff --git a/lib/unipar.c b/lib/unipar.c index 52feeb9..d2cccfa 100644 --- a/lib/unipar.c +++ b/lib/unipar.c @@ -40,7 +40,7 @@ return params; */ /********************************************************/ /* */ -/* Display aid,aidhud usage parameter */ +/* Display aid, usage parameter */ /* */ /********************************************************/ static void usage_aid(char *name,const char *select)