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

    Support
    email gmail relay
    7
    12
    588
    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.
    • D
      drpaneas last edited by girish

      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 Reply Quote 0
      • nebulon
        nebulon Staff last edited by

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

        1 Reply Last reply Reply Quote 3
        • ?
          A Former User @drpaneas last edited by

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

          1 Reply Last reply Reply Quote 1
          • marcusquinn
            marcusquinn last edited by

            A couple of other handy links:

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

            We're not here for a long time - but we are here for a good time :)
            Jersey/UK
            Work & Ecommerce Advice: https://brandlight.org
            Personal & Software Tips: https://marcusquinn.com

            P 1 Reply Last reply Reply Quote 3
            • D
              drpaneas last edited by

              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 .

              marcusquinn jdaviescoates 2 Replies Last reply Reply Quote 0
              • marcusquinn
                marcusquinn @drpaneas last edited by

                @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.

                We're not here for a long time - but we are here for a good time :)
                Jersey/UK
                Work & Ecommerce Advice: https://brandlight.org
                Personal & Software Tips: https://marcusquinn.com

                D 1 Reply Last reply Reply Quote 2
                • D
                  drpaneas @marcusquinn last edited by

                  @marcusquinn thank you very much 🙂

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

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

                    @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 Reply Quote 2
                    • jdaviescoates
                      jdaviescoates @drpaneas last edited by

                      @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 Reply Quote 0
                      • D
                        drpaneas @jdaviescoates last edited by

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

                        @jdaviescoates I have cloudron installed at home.

                        jdaviescoates 1 Reply Last reply Reply Quote 1
                        • P
                          p44 translator @marcusquinn last edited by

                          @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 Reply Quote 1
                          • jdaviescoates
                            jdaviescoates @drpaneas last edited by

                            @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 Reply Quote 0
                            • First post
                              Last post
                            Powered by NodeBB