From c98bf184bbfda5ac6e23cd0724b7e0a900cfe215 Mon Sep 17 00:00:00 2001 From: Alex Vandiver Date: Fri, 24 May 2024 15:18:58 -0400 Subject: [PATCH] postfix: Increase the max message size to 25MB. The default is 10MB[^1]; increasing this to 25MB aligns it with the email mirror's internal limit. [^1]: https://www.postfix.org/postconf.5.html#message_size_limit --- puppet/zulip/templates/postfix/main.cf.erb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/puppet/zulip/templates/postfix/main.cf.erb b/puppet/zulip/templates/postfix/main.cf.erb index fed7e94b51..5257ab1430 100644 --- a/puppet/zulip/templates/postfix/main.cf.erb +++ b/puppet/zulip/templates/postfix/main.cf.erb @@ -38,3 +38,6 @@ virtual_alias_maps = regexp:/etc/postfix/virtual allow_percent_hack = no allow_untrusted_routing = yes strict_rfc821_envelopes = no + +# Ingest messages up to 25MB +message_size_limit = 26214400