Fix #1: lmtpd not working with aiosmtpd 1.2.2

This commit is contained in:
s3lph 2021-09-28 21:48:39 +02:00
parent c619989c7c
commit 89542ee110
3 changed files with 16 additions and 3 deletions

View file

@ -1,4 +1,17 @@
# Matemat Changelog
# EasyWKS Changelog
<!-- BEGIN RELEASE v0.1.2 -->
## Version 0.1.2
Fix even morecompatibility issues with aiosmtpd from Debian repo.
### Changes
<!-- BEGIN CHANGES 0.1.2 -->
- Fix #1: lmtpd not working with aiosmtpd 1.2.2
<!-- END CHANGES 0.1.2 -->
<!-- END RELEASE v0.1.2 -->
<!-- BEGIN RELEASE v0.1.1 -->
## Version 0.1.1

View file

@ -1,2 +1,2 @@
__version__ = '0.1'
__version__ = '0.1.2'

View file

@ -45,7 +45,7 @@ class LmtpdController(Controller):
super().__init__(*args, **kwargs)
def factory(self):
return LMTP(self.handler, ident=f'EasyWKS {version}', **self.SMTP_kwargs)
return LMTP(handler=self.handler, ident=f'EasyWKS {version}', loop=self.loop)
def run_lmtpd():