From d28d07f78e5c7505776c57e0c9f983e50209a9e9 Mon Sep 17 00:00:00 2001 From: Joshua Tauberer Date: Tue, 10 Jun 2014 10:21:43 +0000 Subject: [PATCH] increase the postfix message size limit from 10MB to 128MB --- setup/mail.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/setup/mail.sh b/setup/mail.sh index acb11c8c..6c4d2da3 100755 --- a/setup/mail.sh +++ b/setup/mail.sh @@ -89,6 +89,10 @@ tools/editconf.py /etc/postfix/main.cf \ smtpd_sender_restrictions="reject_non_fqdn_sender,reject_unknown_sender_domain,reject_rhsbl_sender dbl.spamhaus.org" \ smtpd_recipient_restrictions=permit_sasl_authenticated,permit_mynetworks,"reject_rbl_client zen.spamhaus.org","check_policy_service inet:127.0.0.1:10023" +# Increase the message size limit from 10MB to 128MB. +tools/editconf.py /etc/postfix/main.cf \ + message_size_limit=134217728 + # In a basic setup we would handle all local mail delivery by passing # it directly to dovecot over LMTP. However when we setup spamassassin # we will instead pass mail to spampd which will in turn pass it off