There is an issue occuring in getting the email on the server. There is no issues in sending an email from the server.

When someone sends an email, in postfix, it is written that the email is recorded and received but then it gets bounced and removed. This has happened multiple times. The given reason is that the sender in unauthenticated. I have tried to send test email from my own Gmail Id but the result remains same. Please suggest any solution.

I have given the error below.

873B4BB36C: to=abc@gmail.com, relay=gmail-smtp-in.l.google.com[142.251.31.26]:25, delay=1.7, delays=0/0.05/1.3/0.38, dsn=5.7.26, status=bounced (host gmail-smtp-in.l.google.com[142.251.31.26] said: 550-5.7.26 Your email has been blocked because the sender is unauthenticated. 550-5.7.26 Gmail requires all senders to authenticate with either SPF or DKIM. 550-5.7.26 550-5.7.26 Authentication results: 550-5.7.26 DKIM = did not pass 550-5.7.26 SPF [] with ip: [xxx.xx.xxx.xx] = did not pass 550-5.7.26 550-5.7.26 For instructions on setting up authentication, go to 550 5.7.26 Email sender guidelines - Google Workspace Admin Help

4fb4d7f45d1cf-5e4c43a7f71si4873782a12.498 - gsmtp (in reply to end of DATA command))

    • DocFraggle

      • Community Hero
      Moolevel 339

    RedRock There is no issues in sending an email from the server.

    The error message above originates from the Google MX, so you have a problem in sending emails!

    The error message indicates that your SPF record is wrong

    Have something to say?

    Join the community by quickly registering to participate in this discussion. We'd like to see you joining our great moo-community!

    • EETNyx

        Moolevel 81

      You have some kind of error in your SPF or DKIM, send us you domain, so we can check your settings.

      • RRedRock

          Moolevel 1
        • Edited

        Domain name: theredhawkintl.com

        • DocFraggle

          • Community Hero
          Moolevel 339

          DocFraggle I apologize, I have misspelled the domain name. It’s theredhawkintl.com

          • DocFraggle

            • Community Hero
            Moolevel 339

          Ok, that one looks ok to me… so please post the error message from Google without redacted content to check it further

            • RRedRock

                Moolevel 1
              • Edited

              DocFraggle the error is not from google. Mailcow server postfix log shows the below error

              873B4BB36C: to=muhammadkashifyousuf@gmail.com, relay=gmail-smtp-in.l.google.com[142.251.31.26]:25, delay=1.7, delays=0/0.05/1.3/0.38, dsn=5.7.26, status=bounced (host gmail-smtp-in.l.google.com[142.251.31.26] said: 550-5.7.26 Your email has been blocked because the sender is unauthenticated. 550-5.7.26 Gmail requires all senders to authenticate with either SPF or DKIM. 550-5.7.26 550-5.7.26 Authentication results: 550-5.7.26 DKIM = did not pass 550-5.7.26 SPF [] with ip: [157.90.162.24] = did not pass 550-5.7.26 550-5.7.26 For instructions on setting up authentication, go to 550 5.7.26 Email sender guidelines - Google Workspace Admin Help

              4fb4d7f45d1cf-5e4c43a7f71si4873782a12.498 - gsmtp (in reply to end of DATA command))

              [unknown] there is no problem in sending an email from Gmail to the server. There is no error shown in Gmail. Ratehe6the problem is arising in server where the email is received and then bounced, removed.

              there is no problem in sending an email from Gmail to the server. There is no error shown in Gmail. Rather problem is arising in server where the email is received and then bounced, removed.

              there is no problem in sending an email from Gmail to the server. There is no error shown in Gmail. Rather problem is arising in server where the email is received and then bounced, removed.

                • EETNyx

                    Moolevel 81

                  Make a search for 873B4BB36C, it’s ID of message and preferably post here all your findings, this log does not contain from= because it’s response from gmail, we need log about you sending to gmail.

                  • DocFraggle

                    • Community Hero
                    Moolevel 339

                  RedRock the error is not from google

                  Of course this is from Google! You are trying to send an email to a Gmail email address, and the Google MX is blocking it because of DKIM/SPF

                  • RRedRock

                      Moolevel 1
                    • Edited

                    What to do to clear that error?

                    [unknown]

                    • EETNyx

                        Moolevel 81
                      • Edited

                      Uff bad resolution any chance to fix it?

                      There is another ID 907…. referencing your message look for this one too

                      • RRedRock

                          Moolevel 1
                        • Edited


                        The log of ID 90766bb35d and the log of email sending.

                        • EETNyx

                            Moolevel 81

                          Sorry man, other than google for some reason does not see your SPF record. I do not have explanation. Any chance you just change your DNS settings and you need to wait a while to wait on prune of DNS cache on Google side? (up to 24 hours)

                          No one is typing