How can I increase the maximum size of an email with the build-in SMTP?
-
wrote on Aug 3, 2020, 12:17 PM last edited by girish Aug 4, 2020, 11:29 PM
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.
-
wrote on Aug 4, 2020, 6:57 AM last edited by
@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
-
@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.
wrote on Aug 4, 2020, 4:39 PM last edited by@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.
-
wrote on Jan 16, 2023, 12:08 AM last edited by
@girish Was this option added ?
-
@girish Was this option added ?
wrote on Jan 16, 2023, 12:24 AM last edited by@AartJansen Yes. It's in your dashboard > Email > Settings > Maximum email size
-
@AartJansen Yes. It's in your dashboard > Email > Settings > Maximum email size
wrote on Jan 16, 2023, 1:32 AM last edited by@humptydumpty Thank you! I tried to find it, but wasn't doing a good job.
-
wrote on Jan 16, 2023, 2:17 PM last edited by
I have nothing to add here, but I am curious. Whats the reason for doing such? I can imagine that most other providers will still reject your mail due to its big size. Wouldn't it be easier and better to upload those files and share the link?
-
I have nothing to add here, but I am curious. Whats the reason for doing such? I can imagine that most other providers will still reject your mail due to its big size. Wouldn't it be easier and better to upload those files and share the link?
wrote on Jan 16, 2023, 2:22 PM last edited by@Stardenver yes, much better to use things like wormhole.app for GBs of gifts to send.
-
@Stardenver yes, much better to use things like wormhole.app for GBs of gifts to send.
wrote on Jan 16, 2023, 11:11 PM last edited by@robi or even Jirafeau which is available on Cloudron and does the job nicely.
I use that, but also have greatly increased the maximum too because sometimes I e.g. want to email a large ebook to Amazon to automatically get it on my Kindle (although sometimes it's too large and Amazon reject it at their end - need to check what their max is).
-
I have nothing to add here, but I am curious. Whats the reason for doing such? I can imagine that most other providers will still reject your mail due to its big size. Wouldn't it be easier and better to upload those files and share the link?
wrote on Feb 3, 2023, 6:02 AM last edited by@Stardenver Well I had a customers server that he wanted the mail limit upped from 40Mb to 60Mb... and I thought I had done that, but couldn't send a big enough email to test.
I have no idea why they 'need' it, its usually some self-employed boss who doesn't know better, or can't be told.
I make the changes they ask for, and charge for my time.