checkdmarc
checkdmarc copied to clipboard
Parse RUA and RUF when destination not verified
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 }