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.
    • JaredBuschJ
      JaredBusch @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

      Don't read a how to. Read the official instructions first. then read a how to if you cannot figure it out.

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

        i change smtp.google.com to smtp-relay.gmail.com and i get in the log the following
        2015-08-20_183022.png

        scottalanmillerS 1 Reply Last reply Reply Quote 0
        • dafyreD
          dafyre
          last edited by

          Go check your /var/mail/root
          and your Inbox. 🙂

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

            Follow the instructions. Google's response message said to go verify/allow the IP in your Google Apps account..

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

              i didn't receive the email in my inbox and no email in /var/mail/root 😞
              2015-08-20_183603.png

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

                @JaredBusch said:

                Follow the instructions. Google's response message said to go verify/allow the IP in your Google Apps account..

                i don't have any google apps account, i only have a free gmail account

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

                  @IT-ADMIN said:

                  i don't have any google apps account, i only have a free gmail account

                  This means you are NOT READING THE INSTRUCTIONS

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

                    @scottalanmiller said:

                    Google suggests that you use this name: smtp-relay.gmail.com

                    @JaredBusch said:

                    That is specific to Google Apps. I thought he was using a personal Gmail account. That would be smtp.gmail.com

                    I get really really really tired of being nice to people that do not follow basic instructions.

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

                      @JaredBusch said:

                      @scottalanmiller said:

                      Google suggests that you use this name: smtp-relay.gmail.com

                      @JaredBusch said:

                      That is specific to Google Apps. I thought he was using a personal Gmail account. That would be smtp.gmail.com

                      I get really really really tired of being nice to people that do not follow basic instructions.

                      ok ok don't get angry, i just try that, and i'm not familiar with CLI for this reason i'm confused and try everything

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

                        i return everything as before, but still cannot sent email 😞

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

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

                          scottalanmillerS 1 Reply Last reply Reply Quote 0
                          • 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
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 5
                                            • 3 / 5
                                            • First post
                                              Last post