From b925f3b5abe5315580f82972f96db24bf3f575b0 Mon Sep 17 00:00:00 2001 From: missytake Date: Thu, 15 May 2025 12:56:43 +0200 Subject: [PATCH] filtermail: respect message size limit in the config --- chatmaild/src/chatmaild/filtermail.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chatmaild/src/chatmaild/filtermail.py b/chatmaild/src/chatmaild/filtermail.py index a2020ade..6eb44d32 100644 --- a/chatmaild/src/chatmaild/filtermail.py +++ b/chatmaild/src/chatmaild/filtermail.py @@ -173,7 +173,7 @@ async def asyncmain_beforequeue(config, mode): else: port = config.filtermail_smtp_port_incoming handler = IncomingBeforeQueueHandler(config) - HackedController(handler, hostname="127.0.0.1", port=port).start() + HackedController(handler, hostname="127.0.0.1", port=port, data_size_limit=config.max_message_size).start() def recipient_matches_passthrough(recipient, passthrough_recipients):