Skip to content

Commit a9b2a3d

Browse files
authored
Merge pull request #99 from IanLee1521/doe-fixes
DOE fixes
2 parents 5d88399 + 4a9b281 commit a9b2a3d

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
*.xlsx
12
*.csv
23
todo.txt
34
*.json

trustymail/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
from __future__ import unicode_literals, absolute_import, print_function
22

3-
__version__ = '0.6.5-dev'
3+
__version__ = '0.6.5'
44

55
PublicSuffixListFilename = 'public_suffix_list.dat'
66
PublicSuffixListReadOnly = False

trustymail/trustymail.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -492,7 +492,7 @@ def dmarc_scan(resolver, domain):
492492
elif tag == 'rua' or tag == 'ruf':
493493
uris = tag_dict[tag].split(',')
494494
if len(uris) > 2:
495-
handle_syntax_error('[DMARC]', domain, 'Warning: The {} tag specifies {} URIs. Receivers are not required to send reports to more than two URIs - https://tools.ietf.org/html/rfc7489#section-6.2.'.format(tag, len(uris)))
495+
handle_error('[DMARC]', domain, 'Warning: The {} tag specifies {} URIs. Receivers are not required to send reports to more than two URIs - https://tools.ietf.org/html/rfc7489#section-6.2.'.format(tag, len(uris)), syntax_error=False)
496496
for uri in uris:
497497
# mailto: is currently the only type of DMARC URI
498498
parsed_uri = parse_dmarc_report_uri(uri)

0 commit comments

Comments
 (0)