mirror of
https://github.com/chatmail/relay.git
synced 2026-05-12 09:04:36 +00:00
filtermail: respect message size limit in the config
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user