1
0
mirror of https://github.com/Mailu/Mailu.git synced 2025-02-21 19:19:39 +02:00

Default message_size_limit to 50MB

Add MESSAGE_SIZE_LIMIT variable in .env to allow setting the message
size limit for postfix.
This commit is contained in:
Amin Bandali 2016-09-24 19:46:10 -04:00
parent 525089a531
commit b5aec1f065
2 changed files with 7 additions and 0 deletions

4
.env
View File

@ -49,6 +49,10 @@ EXPOSE_ADMIN=no
# Mail settings
###################################
# Message size limit in bytes
# Default: accept messages up to 50MB
MESSAGE_SIZE_LIMIT = 50000000
# Networks granted relay permissions, make sure that you include your Docker
# internal network (default to 172.17.0.0/16)
RELAYNETS=172.16.0.0/12

View File

@ -7,6 +7,9 @@ mydomain = {{ DOMAIN }}
myhostname = {{ HOSTNAME }}
myorigin = $mydomain
# Message size limit
message_size_limit = {{ MESSAGE_SIZE_LIMIT }}
# Relayed networks
mynetworks = 127.0.0.1/32 [::1]/128 {{ RELAYNETS }}