X-Git-Url: https://dehnerts.com/gitweb/?a=blobdiff_plain;f=main.cf;h=92e362ce1485a1048bc9e2a3d3ab211f61fa5802;hb=6ef2658c6bbef72f86bd398450ad0de02bd58d15;hp=5c8b27727cad451e1750fd15bd4b2ba6f92fdeda;hpb=06162c0801ba011bfa70b0a6cd2891d95a2f4f8d;p=sysconfig%2Fpostfix.git diff --git a/main.cf b/main.cf index 5c8b277..92e362c 100644 --- 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 # @@ -257,7 +256,7 @@ unknown_local_recipient_reject_code = 450 # (the value on the table right-hand side is not used). # # Added by Alex Dehnert -mynetworks = 66.92.29.156/32, 66.92.29.144/32, 127.0.0.1/32, 18.111.8.18/32, 18.102.208.0/24 +mynetworks = 66.92.29.156/32, 66.92.29.144/32, 127.0.0.1/32, 18.111.8.18/32, 18.102.208.15/32 #mynetworks = 168.100.189.0/28, 127.0.0.0/8 #mynetworks = $config_directory/mynetworks #mynetworks = hash:/etc/postfix/network_table @@ -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 @@ -480,6 +479,13 @@ home_mailbox = .maildir/ mailbox_command = /usr/lib/dovecot/deliver #mailbox_command = /some/where/procmail -a "$EXTENSION" +# Bump mailbox size limit to 512MB since cache files were maxing out +# 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