Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Support
  3. How can I increase the maximum size of an email with the build-in SMTP?

How can I increase the maximum size of an email with the build-in SMTP?

Scheduled Pinned Locked Moved Solved Support
emailfeature-request
12 Posts 8 Posters 1.7k Views 8 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • V Offline
      V Offline
      Vladimir
      wrote on last edited by girish
      #1

      Hello,
      Currently, I can't send emails with attached files bigger than 20/25MB. How can I increase this?

      1 Reply Last reply
      0
      • girishG Offline
        girishG Offline
        girish
        Staff
        wrote on last edited by
        #2

        @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.

        d19dotcaD 1 Reply Last reply
        2
        • V Offline
          V Offline
          Vladimir
          wrote on last edited by
          #3

          @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 haraka

          Okay thanks

          1 Reply Last reply
          0
          • girishG girish

            @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.

            d19dotcaD Offline
            d19dotcaD Offline
            d19dotca
            wrote on last edited by
            #4

            @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.

            --
            Dustin Dauncey
            www.d19.ca

            1 Reply Last reply
            0
            • girishG Offline
              girishG Offline
              girish
              Staff
              wrote on last edited by
              #5

              I have added this in the 6.0 roadmap to be configurable.

              A 1 Reply Last reply
              2
              • girishG girish

                I have added this in the 6.0 roadmap to be configurable.

                A Offline
                A Offline
                AartJansen
                wrote on last edited by
                #6

                @girish Was this option added ?

                humptydumptyH 1 Reply Last reply
                0
                • A AartJansen

                  @girish Was this option added ?

                  humptydumptyH Offline
                  humptydumptyH Offline
                  humptydumpty
                  wrote on last edited by
                  #7

                  @AartJansen Yes. It's in your dashboard > Email > Settings > Maximum email size

                  98bc51dd-9112-443e-ac65-4de13b76cfef-image.png

                  A 1 Reply Last reply
                  2
                  • humptydumptyH humptydumpty

                    @AartJansen Yes. It's in your dashboard > Email > Settings > Maximum email size

                    98bc51dd-9112-443e-ac65-4de13b76cfef-image.png

                    A Offline
                    A Offline
                    AartJansen
                    wrote on last edited by
                    #8

                    @humptydumpty Thank you! I tried to find it, but wasn't doing a good job.

                    1 Reply Last reply
                    0
                    • StardenverS Offline
                      StardenverS Offline
                      Stardenver
                      wrote on last edited by
                      #9

                      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?

                      robiR A 2 Replies Last reply
                      1
                      • StardenverS Stardenver

                        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?

                        robiR Offline
                        robiR Offline
                        robi
                        wrote on last edited by
                        #10

                        @Stardenver yes, much better to use things like wormhole.app for GBs of gifts to send.

                        Conscious tech

                        jdaviescoatesJ 1 Reply Last reply
                        1
                        • robiR robi

                          @Stardenver yes, much better to use things like wormhole.app for GBs of gifts to send.

                          jdaviescoatesJ Offline
                          jdaviescoatesJ Offline
                          jdaviescoates
                          wrote on last edited by
                          #11

                          @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 use Cloudron with Gandi & Hetzner

                          1 Reply Last reply
                          1
                          • StardenverS Stardenver

                            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?

                            A Offline
                            A Offline
                            AartJansen
                            wrote on last edited by
                            #12

                            @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.

                            1 Reply Last reply
                            1
                            Reply
                            • Reply as topic
                            Log in to reply
                            • Oldest to Newest
                            • Newest to Oldest
                            • Most Votes


                              • Login

                              • Don't have an account? Register

                              • Login or register to search.
                              • First post
                                Last post
                              0
                              • Categories
                              • Recent
                              • Tags
                              • Popular
                              • Bookmarks
                              • Search