DMARC-Compliant Message Constructor Library for List-Servs.
NOTICE! The GitHub repository is simply a mirror of the GitLab repository. All development now takes place on GitLab. Please do not open issues on GitHub, they will get no attention at all and not be addressed.
CI Provider | Status |
---|---|
GitLab CI | |
Appveyor | |
TravisCI (via GitHub) |
This module and its correpsonding packages are designed to utuilze the existing email message functions but to expand upon them to create DMARC-compliant messages that a ListServ can send out as itself on behalf of others.
It has the ability to take existing emails and, while retaining the original payloads of the first email, construct a new email Message instance that can be manipulated like standard email message objects but with ListServ bits added and by modifying the From, To, Reply-To, and other relevant headers to allow the email origin points for DMARC compliance checks to originate from the ListServ's domain. This helps to allow valid DKIM and SPF checks.
The only downside is that original validation items from the original message are lost in this current version of the package.
This module was initially created to be both Python 2 and Python 3 comaptible.
However, as of version 0.2.0, the package is only Python 3 compatible.
Please do not use Python 2 with this library.
This library is available from the PyPI repository.
pip3 install dmarcmsg
Simply copy the dmarcmsg
package folder into your working directory for your Python script or program.
The bulk of this library is designed to generate messages, but is ultimately fairly simple to use.
Command and usage details can be found here.
Issues can be reported on the GitLab repository's Issues section.