Skip to content

Commit

Permalink
Merge 56fcc07 into f1adfea
Browse files Browse the repository at this point in the history
  • Loading branch information
jsf9k committed Nov 17, 2018
2 parents f1adfea + 56fcc07 commit c04023d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion trustymail/__init__.py
@@ -1,6 +1,6 @@
from __future__ import unicode_literals, absolute_import, print_function

__version__ = '0.6.3'
__version__ = '0.6.4'

PublicSuffixListFilename = 'public_suffix_list.dat'
PublicSuffixListReadOnly = False
4 changes: 2 additions & 2 deletions trustymail/trustymail.py
Expand Up @@ -204,7 +204,7 @@ def check_spf_record(record_text, expected_result, domain, strict=2):
query = spf.query('128.143.22.36',
'email_wizard@' + domain.domain_name,
domain.domain_name, strict=strict)
response = query.check()
response = query.check(spf=record_text)

response_type = response[0]
if response_type == 'temperror' or response_type == 'permerror':
Expand Down Expand Up @@ -325,7 +325,7 @@ def spf_scan(resolver, domain):
else:
result = 'neutral'

check_spf_record(record_text_not_following_redirect, result, domain)
check_spf_record(record_text_following_redirect, result, domain)


def parse_dmarc_report_uri(uri):
Expand Down

0 comments on commit c04023d

Please sign in to comment.