ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    cannot send email from Postfix to gmail

    Scheduled Pinned Locked Moved IT Discussion
    81 Posts 5 Posters 17.2k Views
    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.
    • scottalanmillerS
      scottalanmiller @IT-ADMIN
      last edited by

      @IT-ADMIN said:

      so the root cause problem now why i can't look smtp.google.com up ???

      I thought we covered this. Because it is the wrong name and does not exist. You should not be able to look it up.

      1 Reply Last reply Reply Quote 0
      • scottalanmillerS
        scottalanmiller @IT-ADMIN
        last edited by

        @IT-ADMIN said:

        as for the name i think it is correct cuz i'm using my personel gmail account, i fount that name on many howto articles , all of them mention this name smtp.google.com

        There is no question here, the name you have chosen is not correct.

        1 Reply Last reply Reply Quote 0
        • scottalanmillerS
          scottalanmiller @IT-ADMIN
          last edited by

          @IT-ADMIN said:

          i change smtp.google.com to smtp-relay.gmail.com and i get in the log the following

          Use smtp.gmail.com

          1 Reply Last reply Reply Quote 0
          • JaredBuschJ
            JaredBusch
            last edited by

            you very very very clearly did not read what I entered and then quoted myself with just a few posts above.

            1 Reply Last reply Reply Quote 0
            • IT-ADMINI
              IT-ADMIN
              last edited by

              2015-08-20_185356.png

              1 Reply Last reply Reply Quote 0
              • scottalanmillerS
                scottalanmiller
                last edited by

                There you go, that part is working now.

                1 Reply Last reply Reply Quote 0
                • IT-ADMINI
                  IT-ADMIN
                  last edited by

                  @scottalanmiller said:

                  smtp.gmail.com

                  i update the relay to smtp.gmail.com and this is what i get
                  2015-08-20_185801.png

                  1 Reply Last reply Reply Quote 0
                  • scottalanmillerS
                    scottalanmiller
                    last edited by

                    The text of the log is much easier to read than a screenshot of it.

                    1 Reply Last reply Reply Quote 0
                    • IT-ADMINI
                      IT-ADMIN
                      last edited by

                      [root@localhost postfix]# mail [email protected]
                      Subject: test
                      hello world
                      EOT
                      [root@localhost postfix]# tail /var/log/maillog
                      Aug 20 18:55:01 localhost postfix/qmgr[17342]: E4632812CC: removed
                      Aug 20 18:56:34 localhost postfix/qmgr[17342]: 75957812CB: from=[email protected], size=421, nrcpt=1 (queue active)
                      Aug 20 18:56:34 localhost postfix/error[18446]: 75957812CB: to=[email protected], relay=none, delay=582, delays=582/0.03/0/0.02, dsn=4.7.14, status=deferred (delivery temporarily suspended: SASL authentication failed; server smtp.gmail.com[64.233.184.108] said: 534-5.7.14 <https://accounts.google.com/ContinueSignIn?sarp=1&scc=1&plt=AKgnsbsIR?534-5.7.14 U8s7ITZC0YNJR1zOuv6zOtO9VuZofNylkSWMHEPuihU2JvnsN4ladAqvh9iCWH_vednZH1?534-5.7.14 TFvhvCFn9fi-qAtqKECTIPwvGNzKOKzr7MB9XTS3GLbg5RPDpn901RyN0rwkxwqGQazvIj?534-5.7.14 6BQZkkkMQUYP6-RcKMMhpoJsszN-UK_DZXiNG313BOPCiMtpXGdgVS_9uIlEBWjFf58Uf4?534-5.7.14 vHllOx4qpNDxbzjP1FGSCmkxd7rM> Please log in via your web browser and?534-5.7.14 then try again.?534-5.7.14 Learn more at?534 5.7.14 https://support.google.com/mail/answer/78754 mc18sm6667117wic.23 - gsmtp)
                      Aug 20 18:58:02 localhost postfix/pickup[17341]: 876B2812CC: uid=0 from=<root>
                      Aug 20 18:58:02 localhost postfix/cleanup[18480]: 876B2812CC: message-id=[email protected]
                      Aug 20 18:58:02 localhost postfix/qmgr[17342]: 876B2812CC: from=[email protected], size=427, nrcpt=1 (queue active)
                      Aug 20 18:58:02 localhost postfix/smtp[18482]: warning: database /etc/postfix/sasl_passwd.db is older than source file /etc/postfix/sasl_passwd
                      Aug 20 18:58:03 localhost postfix/smtp[18482]: connect to smtp.gmail.com[2a00:1450:400c:c09::6d]:587: Network is unreachable
                      Aug 20 18:58:04 localhost postfix/smtp[18482]: 876B2812CC: SASL authentication failed; server smtp.gmail.com[64.233.184.108] said: 534-5.7.14 <https://accounts.google.com/ContinueSignIn?sarp=1&scc=1&plt=AKgnsbtKo?534-5.7.14 mAFPOyVXudlFtsnjbF6yGeyZQvPtuVy_YDx2RMp6r5Y4HI4H3FztAmNWjXW7gBU1Iukkv3?534-5.7.14 ypI0fyyPOE-ioZne4kjGt72S4EwwL8ZvPKD8DCT1lZbTceW5JSqV1vKRjv-I3umNHPg1iN?534-5.7.14 QppIdGROEzMMZgE_7X-NmJraK0nx51SEQmuEdPTEah0K3vV_s_UYTuOZJweMP5G0A8j_Hd?534-5.7.14 PSBVkhSn_f6EPWA04G0yHpty3ViY> Please log in via your web browser and?534-5.7.14 then try again.?534-5.7.14 Learn more at?534 5.7.14 https://support.google.com/mail/answer/78754 p1sm6137159wjq.28 - gsmtp
                      Aug 20 18:58:06 localhost postfix/smtp[18482]: 876B2812CC: to=[email protected], relay=smtp.gmail.com[64.233.184.109]:587, delay=3.9, delays=0.06/0.04/3.8/0, dsn=4.7.14, status=deferred (SASL authentication failed; server smtp.gmail.com[64.233.184.109] said: 534-5.7.14 <https://accounts.google.com/ContinueSignIn?sarp=1&scc=1&plt=AKgnsbt7Z?534-5.7.14 vTH4_FVXXJpYdqId-PWVDGHvRaDHXe7Mj_1juHzeRgceCRonAtXXVuy21udXoqab48SHaW?534-5.7.14 d6-OWY2sklgg3rsYYG2d4egnsmY5NckkyTJBbuLpwLdFukFg2ZAnM_csU0V1N1lZFkfGDd?534-5.7.14 E_psYTHbZcRz9oRi3MpcsO2-avI1G1ZCTs19C8dpQ3Lbq5S00XbwuuLav5bVcJQUOQ2SjF?534-5.7.14 iu7Wkfs3OPBG-kSkSkcGkzvx_Mjk> Please log in via your web browser and?534-5.7.14 then try again.?534-5.7.14 Learn more at?534 5.7.14 https://support.google.com/mail/answer/78754 s7sm31117322wix.23 - gsmtp)

                      1 Reply Last reply Reply Quote 0
                      • scottalanmillerS
                        scottalanmiller
                        last edited by

                        Did you follow the instructions in the error message yet? It says to sign in from your web browser then try again.

                        1 Reply Last reply Reply Quote 0
                        • scottalanmillerS
                          scottalanmiller
                          last edited by

                          Right at the end...

                          .... iu7Wkfs3OPBG-kSkSkcGkzvx_Mjk> Please log in via your web browser and?534-5.7.14 then try again.?534-5.7.14 Learn more at?534 5.7.14 https://support.google.com/mail/answer/78754 s7sm31117322wix.23 - gsmtp)

                          It even send you to a support page.

                          1 Reply Last reply Reply Quote 0
                          • scottalanmillerS
                            scottalanmiller
                            last edited by

                            https://support.google.com/mail/answer/78754

                            My client isn't accepting my username and password

                            If you're repeatedly prompted for your username and password, or if you're getting an 'invalid credentials' or 'web login required' error, make sure your password is correct. Keep in mind that passwords are case-sensitive.

                            If you’re sure your password is correct, you can try these troubleshooting tips:

                            • If you've turned on 2-Step Verification for your account, you might need to enter an App password.
                            • Sign in to your account from the web version of Gmail at https://mail.google.com. Afterwards try accessing your messages in your mail app again.
                            • If you're still having problems, visit http://www.google.com/accounts/DisplayUnlockCaptcha and sign in with your Gmail username and password. If necessary, enter the letters in the distorted picture.
                            • Your mail app might not support the latest security standards. Learn how to allow less secure apps access to your account.
                            • Make sure your mail app isn't set to check for new email too frequently. If your mail app checks for new messages more than once every 10 minutes, the app’s access to your account could be blocked.
                            • Try changing your password according to our tips on creating a strong password.
                            scottalanmillerS 1 Reply Last reply Reply Quote 0
                            • IT-ADMINI
                              IT-ADMIN
                              last edited by

                              yes i follow it, i already sign in my gmail account

                              JaredBuschJ 1 Reply Last reply Reply Quote 0
                              • scottalanmillerS
                                scottalanmiller @scottalanmiller
                                last edited by

                                @scottalanmiller said:

                                • Your mail app might not support the latest security standards. Learn how to allow less secure apps access to your account.

                                Did you follow this part of the instructions?

                                https://support.google.com/accounts/answer/6010255?vid=1-635756832764607833-18280792062057614980

                                1 Reply Last reply Reply Quote 0
                                • JaredBuschJ
                                  JaredBusch @IT-ADMIN
                                  last edited by

                                  @IT-ADMIN said:

                                  yes i follow it, i already sign in my gmail account

                                  There are many more points there than signing in with your gmail account.

                                  1 Reply Last reply Reply Quote 1
                                  • scottalanmillerS
                                    scottalanmiller
                                    last edited by

                                    Allowing less secure apps to access your account

                                    Google may block sign in attempts from some apps or devices that do not use modern security standards. Since these apps and devices are easier to break into, blocking them helps keep your account safer.

                                    Some examples of apps that do not support the latest security standards include:

                                    • The Mail app on your iPhone or iPad with iOS 6 or below
                                    • The Mail app on your Windows phone preceding the 8.1 release
                                    • Some Desktop mail clients like Microsoft Outlook and Mozilla Thunderbird

                                    Access your account

                                    To help keep your account secure, we may block these less secure apps from accessing your account, and you’ll see a “Password incorrect” error when trying to sign in. If this is the case, you have two options:

                                    • Upgrade to a more secure app that uses the most up to date security measures. All Google products, like Gmail, use the latest security measures.
                                    • Go to Allow less secure apps and choose “Allow” to let less secure apps access your Google account. We don't recommend this option because it may make it easier for someone to gain access to your account.

                                    If you’re still having issues accessing your account after trying the options above, see other reasons you might receive the "password incorrect" error.

                                    1 Reply Last reply Reply Quote 0
                                    • scottalanmillerS
                                      scottalanmiller
                                      last edited by

                                      And here is the link for you to turn down the security level:

                                      https://www.google.com/settings/security/lesssecureapps

                                      IT-ADMINI 1 Reply Last reply Reply Quote 1
                                      • IT-ADMINI
                                        IT-ADMIN @scottalanmiller
                                        last edited by

                                        @scottalanmiller said:

                                        And here is the link for you to turn down the security level:

                                        https://www.google.com/settings/security/lesssecureapps

                                        finally i get email in my mailbox, you are great scott

                                        1 Reply Last reply Reply Quote 1
                                        • IT-ADMINI
                                          IT-ADMIN
                                          last edited by

                                          unfortunately there is no best answer option in this forum

                                          1 Reply Last reply Reply Quote 1
                                          • scottalanmillerS
                                            scottalanmiller
                                            last edited by

                                            Not yet, working on that, though.

                                            1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 5
                                            • 3 / 5
                                            • First post
                                              Last post