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. gmail blocks my server?

gmail blocks my server?

Scheduled Pinned Locked Moved Solved Support
emailgmailrelay
12 Posts 7 Posters 2.4k Views 8 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
    drpaneas
    wrote on last edited by girish
    #1

    I tried to a new user to my cloudron, that her e-mail address is user@gmail.com. She never got the message -- not even in spam folder. Here's what I see:

    {
      "ts": 1611591463339,
      "type": "bounce",
      "direction": "outbound",
      "uuid": "C8581E52-4E8A-4DBB-A8D1-329E9967ACB4.1.1",
      "mailFrom": "<no-reply@example.org>",
      "rcptTo": [
        "<user@gmail.com>"
      ],
      "details": {
        "message": "550 5.7.1 [123.123.123.123] The IP you're using to send mail is not authorized to send email directly to our servers. Please use the SMTP relay at your service provider instead. Learn more at  https://support.google.com/mail/?p=NotAuthorizedError f3si14251915wre.102 - gsmtp"
      }
    }
    

    So the mails are blocked. Any ideas how to resolve this?

    PS: I have edited the message so 123.123.123.123, user@gmail.com and example.org are not the real data.

    ? 1 Reply Last reply
    0
    • nebulonN Offline
      nebulonN Offline
      nebulon
      Staff
      wrote on last edited by
      #2

      For a start, test your setup with https://www.mail-tester.com/ this usually reveals the root cause.

      1 Reply Last reply
      3
      • D drpaneas

        I tried to a new user to my cloudron, that her e-mail address is user@gmail.com. She never got the message -- not even in spam folder. Here's what I see:

        {
          "ts": 1611591463339,
          "type": "bounce",
          "direction": "outbound",
          "uuid": "C8581E52-4E8A-4DBB-A8D1-329E9967ACB4.1.1",
          "mailFrom": "<no-reply@example.org>",
          "rcptTo": [
            "<user@gmail.com>"
          ],
          "details": {
            "message": "550 5.7.1 [123.123.123.123] The IP you're using to send mail is not authorized to send email directly to our servers. Please use the SMTP relay at your service provider instead. Learn more at  https://support.google.com/mail/?p=NotAuthorizedError f3si14251915wre.102 - gsmtp"
          }
        }
        

        So the mails are blocked. Any ideas how to resolve this?

        PS: I have edited the message so 123.123.123.123, user@gmail.com and example.org are not the real data.

        ? Offline
        ? Offline
        A Former User
        wrote on last edited by
        #3

        @drpaneas When you check the DNS status for the email domain, does it show that the email is blacklisted?

        1 Reply Last reply
        1
        • marcusquinnM Offline
          marcusquinnM Offline
          marcusquinn
          wrote on last edited by
          #4

          A couple of other handy links:

          • https://mxtoolbox.com/emailhealth
          • https://www.warmupinbox.com/

          Web Design https://www.evergreen.je
          Development https://brandlight.org
          Life https://marcusquinn.com

          P 1 Reply Last reply
          3
          • D Offline
            D Offline
            drpaneas
            wrote on last edited by
            #5

            Thank you all very much for the links and the tips. Using the mail tester I found out that it had an error with authentication:

            Your IP address $IP is associated with the domain $somenumber.versanet.de.
            Nevertheless your message appears to be sent from mail.example.com.

            You may want to change your pointer (PTR type) DNS record and the host name of your server to the same value.

            This is not something I can change, since this comes from my ISP I guess.

            I setup a relay at sendgrid and this issue seems to be gone. as the IP (thanks to CNAME) is associated also with sendgrid.

            I tested it now and the mails gets delivered fine to at least 3 gmail accounts I tested. So far, they deliver in the normal folder -- not the spam -- but I don't really care for it. As long as the mail goes somewhere, I'm happy.

            PS: Yes, I checked my domain at it seems to already be marked as spam or untrustworthy by Spamhaus ZEN and RATS NoPtr .

            marcusquinnM jdaviescoatesJ 2 Replies Last reply
            0
            • D drpaneas

              Thank you all very much for the links and the tips. Using the mail tester I found out that it had an error with authentication:

              Your IP address $IP is associated with the domain $somenumber.versanet.de.
              Nevertheless your message appears to be sent from mail.example.com.

              You may want to change your pointer (PTR type) DNS record and the host name of your server to the same value.

              This is not something I can change, since this comes from my ISP I guess.

              I setup a relay at sendgrid and this issue seems to be gone. as the IP (thanks to CNAME) is associated also with sendgrid.

              I tested it now and the mails gets delivered fine to at least 3 gmail accounts I tested. So far, they deliver in the normal folder -- not the spam -- but I don't really care for it. As long as the mail goes somewhere, I'm happy.

              PS: Yes, I checked my domain at it seems to already be marked as spam or untrustworthy by Spamhaus ZEN and RATS NoPtr .

              marcusquinnM Offline
              marcusquinnM Offline
              marcusquinn
              wrote on last edited by
              #6

              @drpaneas With Hetzner, you go to the server > Networking > Edit Reverse DNS.

              For your local ISP, I have no clue, maybe your VPN relay solution would work.

              For interest I use Elastic Email as an alternative to Sendgrid, I realise there's little difference if you are within free tier volumes but just to bear in mind if every you have Sendgrid issues and need to try an alternative.

              Web Design https://www.evergreen.je
              Development https://brandlight.org
              Life https://marcusquinn.com

              D 1 Reply Last reply
              2
              • marcusquinnM marcusquinn

                @drpaneas With Hetzner, you go to the server > Networking > Edit Reverse DNS.

                For your local ISP, I have no clue, maybe your VPN relay solution would work.

                For interest I use Elastic Email as an alternative to Sendgrid, I realise there's little difference if you are within free tier volumes but just to bear in mind if every you have Sendgrid issues and need to try an alternative.

                D Offline
                D Offline
                drpaneas
                wrote on last edited by
                #7

                @marcusquinn thank you very much 🙂

                Is there any way to mark this thread as solved or a moderator/admin has to do it?

                girishG 1 Reply Last reply
                1
                • D drpaneas

                  @marcusquinn thank you very much 🙂

                  Is there any way to mark this thread as solved or a moderator/admin has to do it?

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

                  @drpaneas done. But I think you can click the 'gear' button in this post's header and then 'ask as question' and then click on gear again it has a 'mark as solved' option.

                  1 Reply Last reply
                  2
                  • D drpaneas

                    Thank you all very much for the links and the tips. Using the mail tester I found out that it had an error with authentication:

                    Your IP address $IP is associated with the domain $somenumber.versanet.de.
                    Nevertheless your message appears to be sent from mail.example.com.

                    You may want to change your pointer (PTR type) DNS record and the host name of your server to the same value.

                    This is not something I can change, since this comes from my ISP I guess.

                    I setup a relay at sendgrid and this issue seems to be gone. as the IP (thanks to CNAME) is associated also with sendgrid.

                    I tested it now and the mails gets delivered fine to at least 3 gmail accounts I tested. So far, they deliver in the normal folder -- not the spam -- but I don't really care for it. As long as the mail goes somewhere, I'm happy.

                    PS: Yes, I checked my domain at it seems to already be marked as spam or untrustworthy by Spamhaus ZEN and RATS NoPtr .

                    jdaviescoatesJ Online
                    jdaviescoatesJ Online
                    jdaviescoates
                    wrote on last edited by
                    #9

                    @drpaneas said in gmail blocks my server?:

                    You may want to change your pointer (PTR type) DNS record and the host name of your server to the same value.
                    This is not something I can change, since this comes from my ISP I guess.

                    It normally comes from your VPS provider, not your ISP. And you can normally change it.

                    More info here:

                    https://docs.cloudron.io/troubleshooting/#ptr-record

                    I use Cloudron with Gandi & Hetzner

                    D 1 Reply Last reply
                    0
                    • jdaviescoatesJ jdaviescoates

                      @drpaneas said in gmail blocks my server?:

                      You may want to change your pointer (PTR type) DNS record and the host name of your server to the same value.
                      This is not something I can change, since this comes from my ISP I guess.

                      It normally comes from your VPS provider, not your ISP. And you can normally change it.

                      More info here:

                      https://docs.cloudron.io/troubleshooting/#ptr-record

                      D Offline
                      D Offline
                      drpaneas
                      wrote on last edited by
                      #10

                      It normally comes from your VPS provider, not your ISP. And you can normally change it.

                      @jdaviescoates I have cloudron installed at home.

                      jdaviescoatesJ 1 Reply Last reply
                      1
                      • marcusquinnM marcusquinn

                        A couple of other handy links:

                        • https://mxtoolbox.com/emailhealth
                        • https://www.warmupinbox.com/
                        P Offline
                        P Offline
                        p44
                        translator
                        wrote on last edited by
                        #11

                        @marcusquinn said in gmail blocks my server?:

                        A couple of other handy links:

                        • https://mxtoolbox.com/emailhealth
                        • https://www.warmupinbox.com/

                        Also this is very interesting, complete and accurate:

                        • http://multirbl.valli.org/lookup/
                        1 Reply Last reply
                        1
                        • D drpaneas

                          It normally comes from your VPS provider, not your ISP. And you can normally change it.

                          @jdaviescoates I have cloudron installed at home.

                          jdaviescoatesJ Online
                          jdaviescoatesJ Online
                          jdaviescoates
                          wrote on last edited by
                          #12

                          @drpaneas said in gmail blocks my server?:

                          @jdaviescoates I have cloudron installed at home.

                          Ah, right.

                          I use Cloudron with Gandi & Hetzner

                          1 Reply Last reply
                          0
                          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