From 6ef2658c6bbef72f86bd398450ad0de02bd58d15 Mon Sep 17 00:00:00 2001 From: Alex Dehnert Date: Wed, 25 Aug 2021 15:03:40 -0400 Subject: [PATCH] Allow bigger messages This is bigger than GMail allows sending (25MB, https://support.google.com/mail/answer/6584?hl=en&co=GENIE.Platform%3DDesktop#zippy=%2Cattachment-size-limit), but smaller than they allow receiving (50MB, https://support.google.com/a/answer/1366776?hl=en). --- main.cf | 3 +++ 1 file changed, 3 insertions(+) diff --git a/main.cf b/main.cf index b57cef0..92e362c 100644 --- a/main.cf +++ b/main.cf @@ -483,6 +483,9 @@ mailbox_command = /usr/lib/dovecot/deliver # See https://wiki.dovecot.org/LDA/Postfix mailbox_size_limit = 512000000 +# Max message size 40MB +message_size_limit = 41943040 + # The mailbox_transport specifies the optional transport in master.cf # to use after processing aliases and .forward files. This parameter # has precedence over the mailbox_command, fallback_transport and -- 2.34.1