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 Question setting up email

    Support
    mail dns
    2
    5
    67
    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.
    • J
      jtippetts last edited by girish

      So I have been working on setting up email addresses on my Cloudron. I have my accounts set up... all green arrows showing in email settings... but I'm not receiving emails and the error I get when the emails are returned says:

      Host or domain name not found. Name service error for name=my.cloudron.domain type=A: Host not found

      I am setting up email addresses that use a different domain name than my Cloudron home domain.

      Do I need to add a DNS record of some kind in the DNS settings of my primary Cloudron domain name? And if so would I add the same for each custom domain name I want to use to send and receive email from?

      I apologize for my ignorance, this is probably really basic but my mind is numb right now.

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

        @jtippetts If you are not receiving emails:

        • Have you setup an MX record for your different domain to point to Cloudron ? You can test this by host -t MX otherdomain.com .
        • Then, is port 25 open ? telnet my.domain.com 25 . Does this work from say your PC ?
        J 1 Reply Last reply Reply Quote 1
        • J
          jtippetts @girish last edited by jtippetts

          @girish Thanks for the reply. There is an MX record in the DNS settings of the different domain name that does point to my main cloudron instance. It looks like there are also two other MX records as well. This other domain has website hosting at its primary A name so it looks like there is an mx record that points to the server the website is hosted on and there also appears to be an MX record that points to a "Free" year of microsoft outlook that GoDaddy included with the domain name purchase.

          When I run the tel net test I get this:
          user@Work-Debian:~$ telnet my.cloudron.xyz 25
          Trying XX.XXX.XXX.XX...
          Connected to my.cloudron.xyz.
          Escape character is '^]'.
          220 my.cloudron.xyz ESMTP Haraka/2.8.28 ready

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

            @jtippetts things looks correct so far. The MX record is pointing correctly and incoming port 25 is also working. Since you setup mailboxes inside Cloudron, you should have probably have 'Incoming email' enabled as well. Hmmm...

            To go back to your original error, where are you seeing that error ? If you can send your mailbox name to support@cloudron.io, we can quickly test why it's bouncing from here.

            1 Reply Last reply Reply Quote 0
            • J
              jtippetts last edited by jtippetts

              I figured out my issue. Turns out that even though I read the documentation I made one critical mistake right at the beginning. I had to create my email accounts and the addresses I wanted to work in Cloudron first. Then Install the Snappy mail client and set up the email accounts there second.

              Once I deleted the Snappy mail client and reinstalled it everything worked. I'm not sure how but this topic can be marked as resolved.

              1 Reply Last reply Reply Quote 2
              • Topic has been marked as a question  girish girish 
              • Topic has been marked as solved  girish girish 
              • First post
                Last post
              Powered by NodeBB