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

    Custom SMTP Mailer settings

    WordPress (Managed)
    2
    9
    64
    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.
    • G
      guyds last edited by

      I'm using Managed Wordpress but want to use a custom smtp server.
      So I changed the settings in the SMTP Mailer plugin, but after some time (after an update?) the settings are reset to the defaults (i.e. to use the Cloudron SMTP server).

      How can I prevent Cloudron from overwriting those settings in orde to use a custom SMTP server?

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

        @guyds On Cloudron, we always pre-configure the Email settings of all apps to go via the internal Cloudron mail server. This is done, so that it's easier to track and configure all the mails of apps in one place.

        Instead of configuring WordPress to send email via your smtp server, put the setting in the Email relay section of Cloudron - please see https://docs.cloudron.io/email/#relay-outbound-mails .

        G 1 Reply Last reply Reply Quote 0
        • G
          guyds @girish last edited by

          @girish hmm, I see, but I don't want to use the same smtp server for all apps.

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

            @guyds I see. We don't have a feature to set per app mail relays, only per domain. Maybe you can open a feature request and we can look into it - https://forum.cloudron.io/category/97/feature-requests

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

              @guyds Can you tell me about your use case a bit?

              I actually ended up implementing this today since we have needed this for a while as well. Our use case is that we send newsletters via mailtrain which ideally I would like to send via a relay instead of directly from the mail server. Same for this forum which sends out a lot of email to questionable email addresses. So, it helps to keep the IP address clean.

              In the next release, there is an option to select what you want to do with email configuration. By default, it will send via Cloudron mail like now. There is a new option to leave the mail configuration of an app alone.

              G 1 Reply Last reply Reply Quote 1
              • G
                guyds @girish last edited by

                @girish actually we have similar use cases.

                First of all sender/ip reputation. Some apps send emails in bulk and/or to unverified email addresses while others only send transactional emails to known/verified addresses. Therefore we want to use different email servers/systems for them.

                In addition, some apps use email templates built within the mail service and therefore need to send out emails via that particular service, while other apps don't need to / shouldn't send via that service.
                The same for newsletters: they have to be sent via a specific service.

                Great to hear you implemented this functionality already!

                girish 1 Reply Last reply Reply Quote 1
                • girish
                  girish Staff @guyds last edited by

                  @guyds said in Custom SMTP Mailer settings:

                  The same for newsletters: they have to be sent via a specific service.

                  True. We learnt via @mdreira that mautic has special hooks to help with bounce management when it sends via a specific service. For example, when sending via SES, it will listen on a callback URL and unsubscribe people accordingly.

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

                    It looks something like this:

                    68c03f27-b8c5-45e0-a286-beef0d0cddff-image.png

                    G 1 Reply Last reply Reply Quote 0
                    • G
                      guyds @girish last edited by

                      @girish Looks perfect to me!

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