A Python script to verify DMarc, DKIM and SPF signatures directly from raw .eml email files.
The script:
Parses raw email headers and body
Extracts DKIM-Signature, DKIM TXT DNS Record, SPF TXT DNS Record fields, also SFMC MTA server, STACK, MID and JOBID
Retrieves the sender’s DKIM public key from DNS (._domainkey.)
This allows SFMC consultant / developers to quickly validate whether an sender reputation configuration, backtracing to the particular email templates, without manual involvement extracting and validating those by hand.