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 change smtp limits

how can i change smtp limits

Scheduled Pinned Locked Moved Solved Support
smtpemailratelimitfirewall
11 Posts 5 Posters 1.6k Views 5 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.
    • D Offline
      D Offline
      darsh_parsana
      wrote on last edited by girish
      #1

      hey guys so I am using Cloudron SMTP and I want to send 1000 mails concurrently but I see there are a few hard code limits set by Cloudron which is not editable, so how can I change these limits

      Email access (Port 25, 465, 587, 993, 4190) - 50 connections per second per IP/App.
      Email relay access - 500 connections per second per app.
      Email receive access - 50 connections per second per app.
      Auth addon access - 500 connections per second per app.
      and smtp concurrent request limit in general

      ( not great with docker so please also share me the docker commands if i have to run any ) also, i tried updating an outbound.ini file inside docker but it was not writable

      girishG 1 Reply Last reply
      1
      • micmcM Offline
        micmcM Offline
        micmc
        wrote on last edited by
        #2

        You'd rather use SMTP relays services for such use. I'd STRONGLY recommend it. Cloudron supports most of the most powerful ones out of the box.

        Ignorance is not an excuse anymore!
        https://AutomateKit.com

        1 Reply Last reply
        0
        • D Offline
          D Offline
          darsh_parsana
          wrote on last edited by
          #3

          yup I know i can, but I have few reasons why I want to increase current cloudron SMTP limits

          1 Reply Last reply
          0
          • matix131997M Offline
            matix131997M Offline
            matix131997
            wrote on last edited by
            #4

            Maybe it is possible to set an increase in the limit.

            But you need to keep this in mind by having a high email sending rate set at the same time, risk the reputation of the server's IP address and stronger blocking of email delivery at different recipient providers.

            I recommend using an external SMTP to send "marketing" emails. This is the professional name for a service that sends more than 1,000 emails.

            1 Reply Last reply
            0
            • D Offline
              D Offline
              darsh_parsana
              wrote on last edited by
              #5

              yup, it's not for sending marketing it's for something else, I just wanna know how can i increase the sending concurrent in in-build-smtp by cloudron

              1 Reply Last reply
              0
              • matix131997M Offline
                matix131997M Offline
                matix131997
                wrote on last edited by
                #6

                That's not the point. Behind the SMTP service "E-mail Marketing" is constructed that the SMTP system sends thousands of e-mails uses different IP addresses even a whole pool of addresses.

                I did not add above, about risking reputation. Large providers do not only add the IP address to the blacklist and even the domain you own if you send from one server. So it's a VERY high probability that you'll be blacklisted as an "unsafe domain" within days.

                If it's a one-time situation then you have to wait patiently for a full upload using a constructed queue. Sending 1000 emails, even if you have half of the addresses from gmail and icloud for example, the system will mark as Spam or Hard Bounces.

                1 Reply Last reply
                0
                • matix131997M Offline
                  matix131997M Offline
                  matix131997
                  wrote on last edited by
                  #7

                  This is how I review your previous posts. You had a problem sending an email that was in the queue. That's just the charm of "Hard Bounces" email providers and that's why it didn't get sent.

                  That's why I or other users have written and will write, we recommend using SMTP to properly send all emails without any problems with Spam and Hard Bounces.

                  1 Reply Last reply
                  0
                  • D darsh_parsana

                    hey guys so I am using Cloudron SMTP and I want to send 1000 mails concurrently but I see there are a few hard code limits set by Cloudron which is not editable, so how can I change these limits

                    Email access (Port 25, 465, 587, 993, 4190) - 50 connections per second per IP/App.
                    Email relay access - 500 connections per second per app.
                    Email receive access - 50 connections per second per app.
                    Auth addon access - 500 connections per second per app.
                    and smtp concurrent request limit in general

                    ( not great with docker so please also share me the docker commands if i have to run any ) also, i tried updating an outbound.ini file inside docker but it was not writable

                    girishG Offline
                    girishG Offline
                    girish
                    Staff
                    wrote on last edited by
                    #8

                    @darsh_parsana these limits come from the firewall and not from Haraka/mail server and are there to prevent basic DoS attacks or buggy software.

                    Note that the limits are for TCP connections per IP and not for concurrent SMTP transactions. In general, you can always send 1000 mails concurrently provided mail container has enough memory and your server also has enough memory.

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

                      If you really need this , you can always edit the file /home/yellowtent/box/setup/start/cloudron-firewall.sh and change the --connlimit-above values . There are two of them. Then systemctl restart cloudron-firewall

                      1 Reply Last reply
                      0
                      • girishG girish marked this topic as a question on
                      • girishG girish has marked this topic as solved on
                      • D Offline
                        D Offline
                        darsh_parsana
                        wrote on last edited by
                        #10

                        Hi Girish, thanks for the reply

                        i guess there is a limit in sending outbound emails ( buildin SMTP ) not sure

                        also can you tell me the proper docker command to edit this like which container and how to get inside the container

                        BrutalBirdieB 1 Reply Last reply
                        0
                        • D darsh_parsana

                          Hi Girish, thanks for the reply

                          i guess there is a limit in sending outbound emails ( buildin SMTP ) not sure

                          also can you tell me the proper docker command to edit this like which container and how to get inside the container

                          BrutalBirdieB Offline
                          BrutalBirdieB Offline
                          BrutalBirdie
                          Partner
                          wrote on last edited by
                          #11

                          @darsh_parsana

                          /home/yellowtent/box/setup/start/cloudron-firewall.sh is on the root system, not inside any container.
                          You can just edit the file directly via ssh.

                          Like my work? Consider donating a drink. Cheers!

                          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