Fix compatibility issues with aiosmtpd from Debian repo

This commit is contained in:
s3lph 2021-09-28 02:47:05 +02:00
parent 70896ec9eb
commit c619989c7c
2 changed files with 15 additions and 1 deletions

View file

@ -1,5 +1,19 @@
# Matemat Changelog # Matemat Changelog
<!-- BEGIN RELEASE v0.1.1 -->
## Version 0.1.1
Fix compatibility issues with aiosmtpd from Debian repo.
### Changes
<!-- BEGIN CHANGES 0.1.1 -->
- Fix compatibility issues with aiosmtpd from Debian repo.
<!-- END CHANGES 0.1.1 -->
<!-- END RELEASE v0.1.1 -->
<!-- BEGIN RELEASE v0.1 --> <!-- BEGIN RELEASE v0.1 -->
## Version 0.1 ## Version 0.1

View file

@ -49,6 +49,6 @@ class LmtpdController(Controller):
def run_lmtpd(): def run_lmtpd():
controller = LmtpdController(LmtpMailServer(), Config.lmtpd['host'], Config.lmtpd['port']) controller = LmtpdController(handler=LmtpMailServer(), hostname=Config.lmtpd['host'], port=Config.lmtpd['port'])
controller.start() controller.start()
asyncio.get_event_loop().run_forever() asyncio.get_event_loop().run_forever()