More py3 fixes, switch to setuptools.

This commit is contained in:
Stuart D. Gathman
2020-06-12 16:51:38 -04:00
parent bf3108b938
commit cdae26af47
5 changed files with 31 additions and 52 deletions
+5 -2
View File
@@ -72,10 +72,13 @@
from __future__ import print_function
import smtplib
import socket
from email.Message import Message
try:
from email.message import Message
except:
from email.Message import Message
import Milter
import Milter.dns as dns
import time
import dns
## Send DSN.
# Try the published MX names in order, rejecting obviously bogus entries