[ http://issues.apache.org/jira/browse/JSPF-24?page=comments#action_12437569 ] Guillermo Grandes commented on JSPF-24: ---------------------------------------
No problem, are only a joke (but I believe that I have idiom problems to express them correctly), critics are good, this give me the option to improve (idiom and code)! :-) Yes, the Zen version is only "the base" to create the Bess Guess or "Trusted Forwarder SPF Global Whitelist / trusted-forwarder.org (JSPF-30)" The original method is conserved "SPF.checkSPF(String ipAddress, String mailFrom, String hostName)" and use DNS to resolve the Policy, but the option exists to specify the policy manually, this offers many options (for testing too). With this "Zen" base if you chose as policy: "v=spf1 a/24 mx/24 ptr ?all" -> You have Bess Guess "v=spf1 include:spf.trusted-forwarder.org ..." -> Trusted -Forwarder. Inclusive a mix of two in non configured domains... guess + trusted: "v=spf1 a/24 mx/24 ptr include:spf.trusted-forwarder.org ?all" Later you can create a Wrapper class (with these features) that handle the switch between DNS and the local policies... If "none" is returned in the first DNS query to retrieve SPF Record... we used the locals :-) that you think? :-) :-) (fairy of the inspiration) > Handle of non configured SPF domains with default SPF record > ------------------------------------------------------------ > > Key: JSPF-24 > URL: http://issues.apache.org/jira/browse/JSPF-24 > Project: jSPF > Issue Type: Improvement > Environment: jSPF 0.9b2 > Reporter: Guillermo Grandes > Assigned To: Norman Maurer > Fix For: 0.9b4 > > Attachments: SPF.java.diff, SPF.java.Zen-Version.diff > > > Use the best guess SPF record when one cannot be found in the DNS. Note that > this can only return pass or neutral. > example best_guess: "v=spf1 a/24 mx/24 ptr ?all" > This improvement is not standard, but Google uses it (cannot be bad) ;-) > The idea is that the use of this improvement and the policy that is used by > default can initialize, to even force the use of a local_policy (just in case > the request were arriving to us from an internal network 10.0.0.0/8 for > example) > See also: > http://search.cpan.org/dist/Mail-SPF-Query/lib/Mail/SPF/Query.pm#NON-STANDARD_FEATURES -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]