Qmail mail validator https://github.com/mbirth/mail-arc
1. whois
This is a script meant to be used in qmail before forwarding mail to e.g. Gmail. It will verify incoming mail against SPF, DKIM and more and add the appropriate ARC headers. This makes Gmail (hopefully) accept mails for which there's a DMARC rule with "reject" set.
2. history
Usage This filter is meant to be used inline a .qmail file before forwarding. E.g.: mail-arc.py | forward you@example.org To test it, you can throw a mail at it through normal piping: cat mymail.txt | SENDER=someone@cmpny.com ./mail-arc.py The output is the mail with additional validation headers.