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
  • Brite
  • 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

Offical apps | Community 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
13 Posts 8 Posters 5.3k 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.
  • 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 ?

        humptyH 1 Reply Last reply
        0
        • A AartJansen

          @girish Was this option added ?

          humptyH Offline
          humptyH Offline
          humpty
          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
          • humptyH humpty

            @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
                    • jdaviescoatesJ Offline
                      jdaviescoatesJ Offline
                      jdaviescoates
                      wrote last edited by jdaviescoates
                      #13

                      I've got my max mail size set as 1GB:

                      19ddd6cd-bb99-472b-ad3c-6c7aebcc553e-image.jpeg

                      But somehow both SnappyMail and Roundcube both seem to think it's 25MB again and won't let me send emails which are larger:

                      Screenshot from 2026-08-08 18-00-44.png

                      How can I fix this please @Staff? - thanks! 🙏

                      I use Cloudron with Gandi & Hetzner

                      1 Reply Last reply
                      0

                      Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                      Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                      With your input, this post could be even better 💗

                      Register Login
                      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