X-Git-Url: https://dehnerts.com/gitweb/?a=blobdiff_plain;f=main.cf;h=8a7dd8dd2de935981a220279a38976528a523ebf;hb=db254b0206f98fe289291ad2375a0a06d83caab1;hp=704122a1e47cdf53cb4ab1254c4093e5be4b9454;hpb=444719912c6a6e3e77c71da2dfb7ad2c6672f19a;p=sysconfig%2Fpostfix.git diff --git a/main.cf b/main.cf index 704122a..8a7dd8d 100644 --- a/main.cf +++ b/main.cf @@ -278,6 +278,11 @@ smtpd_use_tls = yes smtpd_tls_auth_only = yes smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache 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 # The relay_domains parameter restricts what destinations this system will # relay mail to. See the smtpd_recipient_restrictions description in @@ -475,6 +480,10 @@ 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 + # 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