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

    cannot send email from Postfix to gmail

    IT Discussion
    5
    81
    16.1k
    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
      last edited by

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

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

        @scottalanmiller said:

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

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

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

          Oh okay, I must have misread it.

          So just change google to gmail.

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

            If he is trying to send an email to gmail... he should be sble to use the smtp-relay.gmail.com
            That is their primary incoming MX record....
            #dig mx gmail.com
            gmail.com. 3599 IN MX 40 alt4.gmail-smtp-in.l.google.com.
            gmail.com. 3599 IN MX 30 alt3.gmail-smtp-in.l.google.com.
            gmail.com. 3599 IN MX 10 alt1.gmail-smtp-in.l.google.com.
            gmail.com. 3599 IN MX 5 gmail-smtp-in.l.google.com.
            gmail.com. 3599 IN MX 20 alt2.gmail-smtp-in.l.google.com.

            #nslookup smtp-relay.gmail.com
            Non-authoritative answer:
            smtp-relay.gmail.com canonical name = gmail-smtp-relay.l.google.com.
            Name: ** gmail-smtp-relay.l.google.com**
            Address: 74.125.193.28

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

              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

              scottalanmillerS JaredBuschJ 3 Replies 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

                Maybe that used to be okay, maybe they are all typos. But Google says it is wrong and it is Google you are trying to connect to, so I'd listen to Google here.

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