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


Navigation

    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
    3
    5
    86
    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.

            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.

              1 Reply Last reply Reply Quote 2
              • First post
                Last post