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.3k 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.
    • S
      scottalanmiller
      last edited by

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

      J 1 Reply Last reply Reply Quote 0
      • J
        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

        J 1 Reply Last reply Reply Quote 0
        • S
          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
          • D
            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
            • I
              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

              S J 3 Replies Last reply Reply Quote 0
              • S
                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
                • J
                  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
                  • I
                    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

                    S 1 Reply Last reply Reply Quote 0
                    • D
                      dafyre
                      last edited by

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

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

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

                        I 1 Reply Last reply Reply Quote 0
                        • I
                          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
                          • I
                            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

                            J 1 Reply Last reply Reply Quote 0
                            • J
                              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
                              • J
                                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.

                                I 1 Reply Last reply Reply Quote 0
                                • I
                                  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
                                  • I
                                    IT-ADMIN
                                    last edited by

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

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

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

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