Revision 76 make dns library import optional. Signing (and even verify that doesn't make it to the DNS lookup, e.g. body hash mismatch) works with no dns library. In case a verify is attempted and DNS is required and missing, this exception is raised:
RuntimeError: DKIM.verify requires DNS or dnspython module
Revision 76 make dns library import optional. Signing (and even verify that doesn't make it to the DNS lookup, e.g. body hash mismatch) works with no dns library. In case a verify is attempted and DNS is required and missing, this exception is raised:
RuntimeError: DKIM.verify requires DNS or dnspython module