checkdmarc icon indicating copy to clipboard operation
checkdmarc copied to clipboard

Parse RUA and RUF when destination not verified

Open FestiveKyle opened this issue 4 years ago • 0 comments

Currently if a DMARC report authorization record is not found, the RUA and RUF tag values are not parsed.

rua=mailto:[email protected],mailto:[email protected] results in:

{ 'rua': { 'value': 'mailto:[email protected],mailto:[email protected]', 'explicit': True } }

These changes will continue to parse the RUA and RUF tags while still applying warnings, resulting in the normal array format of the rua["value"] property:

{ 'rua': { 'value': [ { 'scheme': 'mailto', 'address': '[email protected]', 'size_limit': None }, { 'scheme': 'mailto', 'address': '[email protected]', 'size_limit': None } ], 'explicit': True }

FestiveKyle avatar Mar 17 '22 00:03 FestiveKyle