diff --git a/setup.py b/setup.py index a1f99a8..255b829 100644 --- a/setup.py +++ b/setup.py @@ -28,7 +28,7 @@ license = f.read() setup(name='python-slimta', - version='5.0.0', + version='5.0.1', author='Ian Good', author_email='ian@icgood.net', description='Lightweight, asynchronous SMTP libraries.', diff --git a/slimta/smtp/server.py b/slimta/smtp/server.py index bee9156..a819fe8 100644 --- a/slimta/smtp/server.py +++ b/slimta/smtp/server.py @@ -117,7 +117,7 @@ def __init__(self, socket, handlers, address=None, auth=False, self.extensions.add('STARTTLS') if auth: if isinstance(auth, list): - auth_obj = SASLAuth(auth) + auth_obj = SASLAuth.named(auth) else: auth_obj = SASLAuth.defaults() auth_session = AuthSession(auth_obj, self.io)