postfix: Allow for messages up to 20MB in size

This is lower than most other services (e.g. Gmail allows for receiving
up to 50MB and sending up to 25MB) but more than most will need.
This commit is contained in:
Alex Palaistras 2023-03-28 21:29:40 +01:00
parent 1742f45dd1
commit 1801b7d8aa

View File

@ -66,6 +66,9 @@ maximal_queue_lifetime = 7d
minimal_backoff_time = 1000s minimal_backoff_time = 1000s
maximal_backoff_time = 8000s maximal_backoff_time = 8000s
# Set maximum message size (with attachments) in bytes.
message_size_limit = 20480000
# How long to wait when servers connect before receiving rest of data. # How long to wait when servers connect before receiving rest of data.
smtp_helo_timeout = 60s smtp_helo_timeout = 60s