From 63b2e1059d657410140dd592f50f04b2488c7f55 Mon Sep 17 00:00:00 2001 From: Ian Good Date: Tue, 1 Feb 2022 23:42:23 -0500 Subject: [PATCH] Fix a bug in the pysasl integration --- setup.py | 2 +- slimta/smtp/server.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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)