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 DNS for e-mail config with multiple Cloudrons on one domain

    Support
    dns email
    2
    6
    269
    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.
    • potemkin_ai
      potemkin_ai last edited by girish

      Hello! I would use some help, if possible.
      I have a few Cloudrons on a single domain, for a different purpose under various sub-domains.

      If I follow the instruction from each cloudron and configure e-mail as per the requirements (by the way, thanks for making it so easy!!) then 3 of the Cloudrons remains unhappy about the configuration.

      The problem is with DKIM & SKF mail records - every server wants the very same records (cloudron._domainkey & @) to be different, so they end up conflicting with each other.

      How do I merry them happily together?
      And, btw, is there any way to remove 'cloudron' from the dns name? Just for the security purposes.

      Thanks a lot!

      BrutalBirdie 1 Reply Last reply Reply Quote 0
      • BrutalBirdie
        BrutalBirdie Staff @potemkin_ai last edited by

        @potemkin_ai well I would not have multiple mail servers in the first place.
        I would have the top level Cloudron as the mail server and configure all other to relay to that one.
        But that would still not include all users.

        This is why I got a ldap server from where I sync my cloudrons.
        1 master for ldap, 1 master for mail.

        That is how I do it.

        Like my work? Consider donating a beer 🍻 Cheers!

        potemkin_ai 2 Replies Last reply Reply Quote 2
        • potemkin_ai
          potemkin_ai @BrutalBirdie last edited by

          @brutalbirdie I don't need multiple servers as well, just want to make sure I have a way to get all e-mail notifications from all of my instances.

          Using my 'primary' instance for that purpose seems to be an option, indeed - thank you.

          Am I right in understanding that this would require me to create special 'service' accounts on my 'primary' cloudron for every other cloudron instance inside my domain and then configure all of the other cloudrons to send mail using direct smtp?

          And by doing so, my other cloudron's won't need SPF and other mail stuff, is that correct?

          1 Reply Last reply Reply Quote 0
          • potemkin_ai
            potemkin_ai @BrutalBirdie last edited by

            @brutalbirdie I would really use your help on this final step - how to properly configure CloudRons to send e-mail via my primary Cloudron!

            BrutalBirdie 1 Reply Last reply Reply Quote 0
            • BrutalBirdie
              BrutalBirdie Staff @potemkin_ai last edited by BrutalBirdie

              @potemkin_ai
              I am not sure if you can do that properly if you don't have one central LDAP Server.
              Since all my users and groups are present on all cloudron instances.

              But ok I will try. All mentioned domains are manual configured!
              Otherwise they instances will overwrite each other if you configure the same domain.

              My server my.primary_mail_cloudron.com is running all users and groups and has all post boxes configured.
              Another instance my.secondary_node_cloudron.com has the same domain configured primary_mail_cloudron.com

              The secondary has for the domain primary_mail_cloudron.com outbound only and has this configured.

              de9b07b7-c4a9-468d-97a3-2cc1e11d4f1e-image.png

              It's... complicated.

              Like my work? Consider donating a beer 🍻 Cheers!

              potemkin_ai 1 Reply Last reply Reply Quote 0
              • potemkin_ai
                potemkin_ai @BrutalBirdie last edited by

                @brutalbirdie ok, thank you - I've got the idea!

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