Skip to content

Commit

Permalink
Merge a4214e0 into 937016b
Browse files Browse the repository at this point in the history
  • Loading branch information
jsf9k committed Dec 18, 2018
2 parents 937016b + a4214e0 commit 3c287ef
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 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.5'
__version__ = '0.6.6'

PublicSuffixListFilename = 'public_suffix_list.dat'
PublicSuffixListReadOnly = False
6 changes: 5 additions & 1 deletion trustymail/trustymail.py
Expand Up @@ -201,9 +201,13 @@ def check_spf_record(record_text, expected_result, domain, strict=2):
# I'm actually temporarily using an IP that virginia.edu resolves to
# until we resolve why Google DNS does not return the same PTR records
# as the CAL DNS does for 64.69.57.18.
#
# Passing verbose=True causes the SPF library being used to
# print out the SPF records encountered as include and
# redirect cause other SPF records to be looked up.
query = spf.query('128.143.22.36',
'email_wizard@' + domain.domain_name,
domain.domain_name, strict=strict)
domain.domain_name, strict=strict, verbose=True)
response = query.check(spf=record_text)

response_type = response[0]
Expand Down

0 comments on commit 3c287ef

Please sign in to comment.