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. Unable to send email using mail client: Not allowed from your host

Unable to send email using mail client: Not allowed from your host

Scheduled Pinned Locked Moved Solved Support
11 Posts 3 Posters 1.6k Views 3 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.
    • saikarthikS Offline
      saikarthikS Offline
      saikarthik
      wrote on last edited by saikarthik
      #1

      The logs show this error:
      Connection denied. Mail from domain 'xxxxx.com is not allowed from your host

      I have the SPF records set correctly. Apple Mail app is able to receive emails, not send emails. I am using Rainloop for the mail server and set up Mailjet as the outgoing server. I am able to send email using the Rainloop portal. Ports 465 and 587 are open to all on the server.

      girishG 2 Replies Last reply
      0
      • micmcM Offline
        micmcM Offline
        micmc
        wrote on last edited by
        #2

        That's very few information for asking for support.

        Maybe you should ask mailjet support since we do not suport this with Cloudron, and this is what you chose to use to send your email, because it is very likely that it is the one that blocks your domain from sending email.

        Nevertheless, SPF record is not the only thing that needs to be set up straight, the same goes for DKIM and PTR. How is the SMTP status on your Cloudron?
        Is your domain black listed?
        Where do you get the error message from? Rainloop or Apple Mail?
        Something tells that the culprit might very well be the configuration of Apple Mail (what is this, a desktop mail or mobile client? sorry apple is not my cup of tea lol)

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

        saikarthikS 1 Reply Last reply
        0
        • micmcM micmc

          That's very few information for asking for support.

          Maybe you should ask mailjet support since we do not suport this with Cloudron, and this is what you chose to use to send your email, because it is very likely that it is the one that blocks your domain from sending email.

          Nevertheless, SPF record is not the only thing that needs to be set up straight, the same goes for DKIM and PTR. How is the SMTP status on your Cloudron?
          Is your domain black listed?
          Where do you get the error message from? Rainloop or Apple Mail?
          Something tells that the culprit might very well be the configuration of Apple Mail (what is this, a desktop mail or mobile client? sorry apple is not my cup of tea lol)

          saikarthikS Offline
          saikarthikS Offline
          saikarthik
          wrote on last edited by
          #3

          @micmc
          The emails are getting sent out when using Rainloop UI. So, I don't think this is an issue on mailjet side.

          SMTP status on Cloudron is green.

          My domain is not blacklisted.

          The error message is from Cloudron mail event logs. ie. <cloudron domain>/#/emails-eventlog

          I am testing on both iPhone and Mac.

          1 Reply Last reply
          0
          • micmcM Offline
            micmcM Offline
            micmc
            wrote on last edited by micmc
            #4

            One thing is 100% sure, that is Cloudron out of the box, has a perfect, bug free, secure, stable, complete and powerful email IO solution, for years. If you decide to MODIFY how things already work perfectly then if things break the culprit is obviously the "modification", right?

            Now, once that's well established, we're always still willing to help, you may just need to be a little patient 😉

            How have you set Mailjet, that is the part we don't know about, moreover your last reply is even less than clear.

            What are you doing differently, if it works from rainloop then there's should be no error message. But you say the error message is in the Cloudron email log, and so that is when you send from what, to be blocked and providing this error message?

            You know, whatever device it's the same email servers in use, and rainloop is a Cloudron setting out of the box and it works, so if you cannot send from a client like Apple Mail, then the culptit is... ?

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

            1 Reply Last reply
            0
            • saikarthikS saikarthik

              The logs show this error:
              Connection denied. Mail from domain 'xxxxx.com is not allowed from your host

              I have the SPF records set correctly. Apple Mail app is able to receive emails, not send emails. I am using Rainloop for the mail server and set up Mailjet as the outgoing server. I am able to send email using the Rainloop portal. Ports 465 and 587 are open to all on the server.

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

              @saikarthik Are you connecting from Apple Mail app via port 465/587 (and not port 25) ?

              saikarthikS 1 Reply Last reply
              1
              • saikarthikS saikarthik

                The logs show this error:
                Connection denied. Mail from domain 'xxxxx.com is not allowed from your host

                I have the SPF records set correctly. Apple Mail app is able to receive emails, not send emails. I am using Rainloop for the mail server and set up Mailjet as the outgoing server. I am able to send email using the Rainloop portal. Ports 465 and 587 are open to all on the server.

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

                @saikarthik said in Unable to send email using mail client: Not allowed from your host:

                Connection denied. Mail from domain 'xxxxx.com is not allowed from your host

                If you click on that log item, it will expand. Inside you will find the remote IP address that is trying to send mail . You can then take that IP address and put it in https://www.infobyip.com/ . Is that IP yours? Check what that IP is...

                1 Reply Last reply
                1
                • girishG girish

                  @saikarthik Are you connecting from Apple Mail app via port 465/587 (and not port 25) ?

                  saikarthikS Offline
                  saikarthikS Offline
                  saikarthik
                  wrote on last edited by saikarthik
                  #7

                  @girish tried with both ports 465 and 587.

                  And it is my home IP and not cloudron IP. Is that an issue?

                  girishG 1 Reply Last reply
                  0
                  • saikarthikS saikarthik

                    @girish tried with both ports 465 and 587.

                    And it is my home IP and not cloudron IP. Is that an issue?

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

                    @saikarthik said in Unable to send email using mail client: Not allowed from your host:

                    And it is my home IP. Is that an issue?

                    That's not an issue and that's how it should be.

                    Some more checks:

                    • Mail from domain 'xxxxx.com' . That xxxx.com is your Cloudron domain correct ?
                    • Can you also check that host -t TXT xxxx.com has the correct values? It should have my.xxxx.com in that inside it.
                    • Is Cloudron the mail server for the domain? Do you have incoming email enabled for that xxxx.com in Cloudron ? i.e created a mailbox etc.
                    saikarthikS 1 Reply Last reply
                    1
                    • girishG girish

                      @saikarthik said in Unable to send email using mail client: Not allowed from your host:

                      And it is my home IP. Is that an issue?

                      That's not an issue and that's how it should be.

                      Some more checks:

                      • Mail from domain 'xxxxx.com' . That xxxx.com is your Cloudron domain correct ?
                      • Can you also check that host -t TXT xxxx.com has the correct values? It should have my.xxxx.com in that inside it.
                      • Is Cloudron the mail server for the domain? Do you have incoming email enabled for that xxxx.com in Cloudron ? i.e created a mailbox etc.
                      saikarthikS Offline
                      saikarthikS Offline
                      saikarthik
                      wrote on last edited by
                      #9

                      Got it to work now. I was missing the my.xxxx.com in the SPF record for some reason.

                      @girish said in Unable to send email using mail client: Not allowed from your host:

                      Mail from domain 'xxxxx.com' . That xxxx.com is your Cloudron domain correct ? YES
                      Can you also check that host -t TXT xxxx.com has the correct values? It should have my.xxxx.com in that inside it.
                      I was missing the my.xxxx.com
                      Is Cloudron the mail server for the domain? Do you have incoming email enabled for that xxxx.com in Cloudron ? i.e created a mailbox etc. YES, able to receive emails and send using rainloop UI.

                      girishG 1 Reply Last reply
                      1
                      • saikarthikS saikarthik

                        Got it to work now. I was missing the my.xxxx.com in the SPF record for some reason.

                        @girish said in Unable to send email using mail client: Not allowed from your host:

                        Mail from domain 'xxxxx.com' . That xxxx.com is your Cloudron domain correct ? YES
                        Can you also check that host -t TXT xxxx.com has the correct values? It should have my.xxxx.com in that inside it.
                        I was missing the my.xxxx.com
                        Is Cloudron the mail server for the domain? Do you have incoming email enabled for that xxxx.com in Cloudron ? i.e created a mailbox etc. YES, able to receive emails and send using rainloop UI.

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

                        @saikarthik ah ok, so fixing the spf record fixed it? You might want to give DNS sometime to propagate.

                        saikarthikS 1 Reply Last reply
                        1
                        • girishG girish

                          @saikarthik ah ok, so fixing the spf record fixed it? You might want to give DNS sometime to propagate.

                          saikarthikS Offline
                          saikarthikS Offline
                          saikarthik
                          wrote on last edited by
                          #11

                          @girish yes.

                          1 Reply Last reply
                          0
                          • girishG girish has marked this topic as solved on
                          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