modoboa / modoboa-dmarc

A set of tools to use DMARC through Modoboa.
MIT License
15 stars 11 forks source link

use email.message_from_bytes() for six.binary_type; fixes #44 #62

Closed cl0secall closed 2 years ago

cl0secall commented 3 years ago

This is based on the patch that I put in a comment on #44. I add a code path to use email.message_from_bytes() as in my testing the script was getting binary literals back from imaplib.