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


    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

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

    Support
    email feature-request
    8
    12
    378
    Loading More Posts
    • 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
      Vladimir last edited by girish

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

      1 Reply Last reply Reply Quote 0
      • girish
        girish Staff last edited by

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

        d19dotca 1 Reply Last reply Reply Quote 2
        • V
          Vladimir 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 haraka

          Okay thanks

          1 Reply Last reply Reply Quote 0
          • d19dotca
            d19dotca @girish 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.

            --
            Dustin Dauncey
            www.d19.ca

            1 Reply Last reply Reply Quote 0
            • girish
              girish Staff last edited by

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

              A 1 Reply Last reply Reply Quote 2
              • A
                AartJansen @girish last edited by

                @girish Was this option added ?

                humptydumpty 1 Reply Last reply Reply Quote 0
                • humptydumpty
                  humptydumpty @AartJansen last edited by

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

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

                  A 1 Reply Last reply Reply Quote 2
                  • A
                    AartJansen @humptydumpty last edited by

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

                    1 Reply Last reply Reply Quote 0
                    • Stardenver
                      Stardenver 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?

                      robi A 2 Replies Last reply Reply Quote 1
                      • robi
                        robi @Stardenver last edited by

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

                        Life of Advanced Technology

                        jdaviescoates 1 Reply Last reply Reply Quote 1
                        • jdaviescoates
                          jdaviescoates @robi 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 use Cloudron with Gandi & Hetzner

                          1 Reply Last reply Reply Quote 1
                          • A
                            AartJansen @Stardenver 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.

                            1 Reply Last reply Reply Quote 1
                            • First post
                              Last post
                            Powered by NodeBB