mirror of
https://github.com/chatmail/relay.git
synced 2026-05-20 12:58:04 +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:
|
else:
|
||||||
port = config.filtermail_smtp_port_incoming
|
port = config.filtermail_smtp_port_incoming
|
||||||
handler = IncomingBeforeQueueHandler(config)
|
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):
|
def recipient_matches_passthrough(recipient, passthrough_recipients):
|
||||||
|
|||||||
Reference in New Issue
Block a user