xwpyltdyoapacheorg author mmartinec date thu nov 15 163128 2007 new revision 595503 url httpsvnapacheorgviewvcrev595503viewrev log plugindkim fix anchoring regexp rename verified valid variables comments match ssp rfc 4871 terminology modified spamassassintrunklibmailspamassassinplugindkimpm modified spamassassintrunklibmailspamassassinplugindkimpm url httpsvnapacheorgviewvcspamassassintrunklibmailspamassassinplugindkimpmrev595503r1595502r2595503viewdiff spamassassintrunklibmailspamassassinplugindkimpm original spamassassintrunklibmailspamassassinplugindkimpm thu nov 15 163128 2007 408 408 following tags added set available use reports headers plugins etc _dkimidentity_ verified signing identities tag signatures _dkimdomain_ verified signing domains tag signatures _dkimidentity_ signing identities tag valid signatures _dkimdomain_ signing domains tag valid signatures identities domains signatures failed verification included tags duplicates eliminated eg two 21810 21811 return scandkim_signed mosnomer check_dkim_valid keep compatibility sub check_dkim_verified self scan _ self_check_dkim_signaturescan unless scandkim_checked_signature return scandkim_verified return scandkim_valid sub check_dkim_signsome 2717 2727 scandkim_checked_signature 1 scandkim_signed 0 scandkim_verified 0 scandkim_valid 0 scandkim_key_testing 0 timemethod selfmaintime_methodcheck_dkim_signature 3537 3547 extract actual lookup results result eq pass scandkim_signed 1 scandkim_verified 1 scandkim_valid 1 elsif result eq fail scandkim_signed 1 39513 39613 dbgdkim policy dkim object available programming error elsif scanis_dns_available dbgdkim policy retrieved dns resolving available elsif scandkim_verified need fetch policy verifies elsif scandkim_valid need fetch policy valid draftallmandkimssp02 message contains valid originator signature sender signing practices check need performed verifier look sender signing practices message considered nonsuspicious dbgdkim policy retrieved signature verify dbgdkim policy retrieved signature valid else timeout scanconfdkim_timeout 48017 48117 myany_match_at_all any_match_by_wl_ref _wlcheck_listself scan acceptable_identity_tuples myveriffail myvalidfail foreach wl keys any_match_by_wl_ref match any_match_by_wl_refwl defined match scanmatch_in_wl 1 match match pushverifwl else pushfailwl match pushvalidwl else pushfailwl verif valid dbgdkim originator whitelisted originator join verif originator join valid elsif fail dbgdkim originator found ignored originator join fail 5427 5437 foreach signature scandkim_signatures local 12 verified signatureresult eq pass valid signatureresult eq pass expiration_time expiration_time signatureexpiration expiration_supported 5607 5617 info summary info string used logging info verified verified failedexpired expired info valid valid failed expired expired info lc identity eq lc originator_matching_part originator thirdparty info signature id identity 59620 59720 matches 1 lc identity eq lc acceptable_identity else local part signing identity acceptable long domain matches subdomain matches 1 identity_dom qaccept_id_domqi matches 1 identity_dom qaccept_id_domezi matches dbgdkim info originator originator matches wl defined value indicates least match necessarily verified defined value indicates least match necessarily valid any_match_by_wlwl 0 exists any_match_by_wlwl valid signature cause whitelisting matches 0 verified expired matches 0 valid expired any_match_by_wlwl any_match_at_all 1 matches dbgdkim info originator originator verified matches dbgdkim info originator originator valid matches any_match_at_all return any_match_at_all any_match_by_wl fri 08 aug 2008 065627 0000 svn commit r595503 spamassassintrunklibmailspamassassinplugindkimpm