SOLVED How can I increase the maximum size of an email with the build-in SMTP?
-
Hello,
Currently, I can't send emails with attached files bigger than 20/25MB. How can I increase this? -
@Vladimir Currently, this value is hardcoded. Until we make it configurable, what you can do is to SSH in the the server and:
docker exec -ti mail /bin/bash
.- Then edit
/run/haraka/config/databytes
. Currently, it is 25MB (26214400). supervisorctl restart haraka
Unfortunately, the above value is not persisted across server reboots.
-
@girish said in How can I increase the maximum size of an email with the build-in SMTP?:
docker exec -ti mail /bin/bash .
Then edit /run/haraka/config/databytes. Currently, it is 25MB (26214400).
supervisorctl restart harakaOkay thanks
-
@girish Not to sidetrack but this is probably another great example of where the config should be exposed in the Cloudron UI (and of course persisted), related to many of the email improvements many of us are waiting to see in the near future.
-
I have added this in the 6.0 roadmap to be configurable.