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.
    • IT-ADMINI
      IT-ADMIN
      last edited by

      do you know where is that setting in my gmail account??

      1 Reply Last reply Reply Quote 0
      • DashrenderD
        Dashrender
        last edited by

        Other than preventing SPAM, I've never understood why devices like this don't have their own SMTP mail server (actually I think they do, but don't seem to work as one might expect).

        For example - why can't my Copy machine just send an email to any email server on the planet? Why does it need to forward the email to my email server, then my server forwards to whomever?

        Did I answer my own question in the first sentence, because of SPAM?

        scottalanmillerS 2 Replies Last reply Reply Quote 0
        • scottalanmillerS
          scottalanmiller @Dashrender
          last edited by

          @Dashrender said:

          Did I answer my own question in the first sentence, because of SPAM?

          Yup. All of those devices can send. Nearly nothing accepts it.

          This goes back to our discussions about why trying to host your own email server is problematic. Didn't you state that you didn't have these problems?

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

            I have devices like this send to us through whitelisting. If you don't whitelist it, any commercial SPAM filter will normally catch it.

            DashrenderD 1 Reply Last reply Reply Quote 0
            • DashrenderD
              Dashrender @scottalanmiller
              last edited by

              @scottalanmiller said:

              Didn't you state that you didn't have these problems?

              I don't have these problems because I host my own email. Of course assuming I move to O365, then I will begin to have these problems.

              scottalanmillerS 2 Replies Last reply Reply Quote 0
              • scottalanmillerS
                scottalanmiller @Dashrender
                last edited by

                @Dashrender said:

                I don't have these problems because I host my own email. Of course assuming I move to O365, then I will begin to have these problems.

                But you just said that you can't send out from these devices, which are each hosting your own email. You wanted to send to other people and couldn't, I thought.

                1 Reply Last reply Reply Quote 0
                • DashrenderD
                  Dashrender @scottalanmiller
                  last edited by

                  @scottalanmiller said:

                  I have devices like this send to us through whitelisting. If you don't whitelist it, any commercial SPAM filter will normally catch it.

                  I too whitelist my internal devices for receiving/forwarding SMTP mail from these types of devices.

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

                    @Dashrender said:

                    For example - why can't my Copy machine just send an email to any email server on the planet?

                    This line. in one breath you are asking why you can't. In the next you are saying that you can.

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

                      When I host my own Postfix servers I can put in a lot of effort and get them to sometimes get mail accepted if I give each their own IP address, but it is not super reliable. Or I can send through our existing email infrastructure. But running each as its own is very problematic for reliable third party delivery.

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

                        @Dashrender said:

                        Of course assuming I move to O365, then I will begin to have these problems.

                        Why would you assume that?

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

                          anyone know how to solve this problem ??

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

                            how can i inform my gmail account to allow postfix to use it as a relay ??

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

                              Does this line tell us anything...

                              Aug 20 15:59:20 localhost postfix/smtp[13618]: connect to smtp.gmail.com[2a00:1450:400c:c07::6c]:587: Network is unreachable

                              Maybe there is a network error here? Test that port with telnet.

                              IT-ADMINI 1 Reply Last reply Reply Quote 0
                              • DashrenderD
                                Dashrender @scottalanmiller
                                last edited by

                                @scottalanmiller said:

                                @Dashrender said:

                                Of course assuming I move to O365, then I will begin to have these problems.

                                Why would you assume that?

                                Because of posts like this. Of course we could get lucky and things like this might be working better.

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

                                  @Dashrender said:

                                  Because of posts like this. Of course we could get lucky and things like this might be working better.

                                  But this is about GMail. Did someone talk about Office 365, which is unrelated to Gmail.

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

                                    @scottalanmiller said:

                                    Does this line tell us anything...

                                    Aug 20 15:59:20 localhost postfix/smtp[13618]: connect to smtp.gmail.com[2a00:1450:400c:c07::6c]:587: Network is unreachable

                                    Maybe there is a network error here? Test that port with telnet.

                                    can you explain what do you mean please

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

                                      @scottalanmiller said:

                                      @Dashrender said:

                                      Because of posts like this. Of course we could get lucky and things like this might be working better.

                                      But this is about GMail. Did someone talk about Office 365, which is unrelated to Gmail.

                                      not in this thread, but I've seen other threads a long time ago talking about these types of problems.

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

                                        @Dashrender said:

                                        not in this thread, but I've seen other threads a long time ago talking about these types of problems.

                                        Lots of people having issues sending to plain Exchange too. But you don't get the impression that it doesn't work. You just have to set it up correctly. We do this, so there is no question that it works. And we send out through GMail. So there is no reason for suspicion different than any IT system that could be misconfigured.

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

                                          @IT-ADMIN said:

                                          @scottalanmiller said:

                                          Does this line tell us anything...

                                          Aug 20 15:59:20 localhost postfix/smtp[13618]: connect to smtp.gmail.com[2a00:1450:400c:c07::6c]:587: Network is unreachable

                                          Maybe there is a network error here? Test that port with telnet.

                                          can you explain what do you mean please

                                          The error suggests that the network cannot connect. There is no reason (yet) to worry about email configurations or security. The error that you have is simply that there is no networking and the two systems are not talking. There is a real chance that the ports are blocked on your network.

                                          Use telnet and see what happens...

                                          telnet smtp.google.com 587
                                          
                                          1 Reply Last reply Reply Quote 0
                                          • IT-ADMINI
                                            IT-ADMIN
                                            last edited by

                                            i run that command on my centOS box, it gives this

                                            222.png

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