diff --git a/CHANGELOG.md b/CHANGELOG.md index c262c31..940f508 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,17 @@ # EasyWKS Changelog + +## Version 0.1.6 + +### Changes + + +- Remove LMTP Envelope-Sender check. +- Debian package now includes an "easywks clean" cronjob. + + + + ## Version 0.1.5 diff --git a/easywks/__init__.py b/easywks/__init__.py index 46a7260..82a4917 100644 --- a/easywks/__init__.py +++ b/easywks/__init__.py @@ -1,2 +1,2 @@ -__version__ = '0.1.5' +__version__ = '0.1.6' diff --git a/easywks/lmtpd.py b/easywks/lmtpd.py index 2e938cc..c7756ca 100644 --- a/easywks/lmtpd.py +++ b/easywks/lmtpd.py @@ -13,13 +13,6 @@ from .types import EasyWksError class LmtpMailServer: - async def handle_MAIL(self, server, session, envelope, address, mail_options): - _, domain = address.split('@', 1) - if domain not in Config.domains: - return '550 Not accepting mails from this domain' - envelope.mail_from = address - return '250 OK' - async def handle_RCPT(self, server, session, envelope, address, rcpt_options): for domain in Config.domains: if Config[domain].submission_address == address: