Max. message size (attachment size)
Open data/conf/postfix/extra.cf
and set the message_size_limit
accordingly in bytes. See main.cf
for the default value.
You will also need to adjust message size in Rspamd and Clamav configurations:
- in
data/conf/rspamd/local.d/options.inc
addmax_message
parameter, check Rspamd Docs for defaults - in
data/conf/rspamd/local.d/external_services.conf
adjustmax_size
parameter foroletools
- in
data/conf/rspamd/local.d/antivirus.conf
adjustmax_size
parameter forclamav
- in
data/conf/clamav/clamd.conf
adjustMaxScanSize
andMaxFileSize
Restart Postfix, Rspamd and Clamav:
docker compose restart postfix-mailcow rspamd-mailcow clamd-mailcow
docker-compose restart postfix-mailcow rspamd-mailcow clamd-mailcow
Last update:
2023-05-25 12:24:36