Allow bigger messages
[sysconfig/postfix.git] / main.cf
diff --git a/main.cf b/main.cf
index e214338c8492a40ad817d011f7b3c76904abaa49..92e362ce1485a1048bc9e2a3d3ab211f61fa5802 100644 (file)
--- a/main.cf
+++ b/main.cf
@@ -38,7 +38,6 @@ command_directory = /usr/sbin
 # daemon programs (i.e. programs listed in the master.cf file). This
 # directory must be owned by root.
 #
-daemon_directory = /usr/lib/postfix
 
 # QUEUE AND PROCESS OWNERSHIP
 #
@@ -282,7 +281,7 @@ smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
 # Alex Dehnert, 2017-11-01
 # Based on https://serverfault.com/questions/663979/virtual-alias-domains-how-to-use-different-ip-addresses-when-forwarding-mail
 
-sender_dependent_default_transport_maps = hash:/etc/mail/sender-transport
+#sender_dependent_default_transport_maps = hash:/etc/mail/sender-transport
     
 # The relay_domains parameter restricts what destinations this system will
 # relay mail to.  See the smtpd_recipient_restrictions description in
@@ -484,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