Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Support
  3. Email SMTP: Connection Closed

Email SMTP: Connection Closed

Scheduled Pinned Locked Moved Solved Support
emailrelay
18 Posts 3 Posters 2.1k Views 3 Watching
  • 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.
  • J Offline
    J Offline
    joseph
    Staff
    wrote on last edited by
    #8

    @humptydumpty right, that's the bug ... Your server provider for some inexplicable reason has closed outbound port 587. You have to ask their support to open it.

    1 Reply Last reply
    1
    • humptydumptyH Offline
      humptydumptyH Offline
      humptydumpty
      wrote on last edited by humptydumpty
      #9

      Thanks Joseph. I emailed Hetzner and will report back.

      1 Reply Last reply
      0
      • humptydumptyH Offline
        humptydumptyH Offline
        humptydumpty
        wrote on last edited by
        #10

        Still waiting on Hetzner support, but I ran a port test and it looks like 587 is open.

        image.png

        1 Reply Last reply
        0
        • J Offline
          J Offline
          joseph
          Staff
          wrote on last edited by
          #11

          @humptydumpty issue is outbound port and not inbound port

          1 Reply Last reply
          1
          • humptydumptyH Offline
            humptydumptyH Offline
            humptydumpty
            wrote on last edited by
            #12

            Noted. I'm guessing this will take till tomorrow at least if Hetzner's support is in Germany.

            1 Reply Last reply
            0
            • matix131997M Offline
              matix131997M Offline
              matix131997
              wrote on last edited by
              #13

              Generally Hetzner does not block outgoing ports except 25 for new customers until the next month, sometimes after two months after payment of the invoice. But blocked ports of other there is no possibility well unless you have set in the external firewall ?

              humptydumptyH 1 Reply Last reply
              0
              • matix131997M matix131997

                Generally Hetzner does not block outgoing ports except 25 for new customers until the next month, sometimes after two months after payment of the invoice. But blocked ports of other there is no possibility well unless you have set in the external firewall ?

                humptydumptyH Offline
                humptydumptyH Offline
                humptydumpty
                wrote on last edited by humptydumpty
                #14

                @matix131997 no, I didn’t block anything in the Hetzner firewall. I did try to open port 25 and then disabled that rule but the email/smtp issue was there beforehand as it’s what prompted me to try to open the port only to be told that port 25 isn’t needed for smtp.

                1 Reply Last reply
                0
                • humptydumptyH Offline
                  humptydumptyH Offline
                  humptydumpty
                  wrote on last edited by
                  #15

                  Asked ChatGPT for command to test via SSH. Here are the results:

                  telnet smtp.mydomain.com 587 >> Trying valid-hetzner-server-ip... Connected to smtp.mydomain.com.
                  
                  nc -vz smtp.mydomain.com 587 >> Connection to smtp.mydomain.com (correct-server-ip) 587 port [tcp/submission] succeeded!
                  
                  nslookup smtp.mydomain.com >>
                  
                  Connection to smtp.mydomain.com (correct-server-ip) 587 port [tcp/submission] succeeded!
                  
                  Server:         127.0.0.53
                  Address:        127.0.0.53#53
                  
                  Non-authoritative answer:
                  Name:   smtp.mydomain.com (masked)
                  Address: my-server-ip (masked)
                  
                  1 Reply Last reply
                  0
                  • humptydumptyH Offline
                    humptydumptyH Offline
                    humptydumpty
                    wrote on last edited by humptydumpty
                    #16

                    I received a reply from Hetzner support. I barely had any sleep during the past few days because of this migration so, I'm not entirely sure if I'm reading this right. Maybe I'm dreaming. But, here goes:

                    Dear Client
                    
                    Thank you for your request.
                    
                    Unfortunately, some GeoIP databases incorrectly locate some of our IPs in Iran. We cannot influence these databases.
                    
                    If this leads to issues for you, please create a Snapshot of the server with the incorrect IP location. Then create a new server with this Snapshot. You can then delete the server with the incorrect IP location.
                    
                    Mit freundlichen Grüßen / Kind regards
                    

                    WTF. I signed up for a vDedi server in Ashburn, US. I'm gonna get my a55 probed by the US gov now. Thanks Hetzner.

                    1 Reply Last reply
                    0
                    • humptydumptyH Offline
                      humptydumptyH Offline
                      humptydumpty
                      wrote on last edited by humptydumpty
                      #17
                      This post is deleted!
                      1 Reply Last reply
                      0
                      • humptydumptyH Offline
                        humptydumptyH Offline
                        humptydumpty
                        wrote on last edited by
                        #18

                        I enabled Dynamic DNS in Cloudron. Then, I turned off the VPS, deleted its IP's (ipv4 and ipv6) and reassigned new ones. Manually updated DNS record of my. to point to the new domain and it came up in 2 mins. Resynced DNS and it looks like the SMTP issue is fixed.

                        1 Reply Last reply
                        0
                        • humptydumptyH humptydumpty has marked this topic as solved on
                        • humptydumptyH humptydumpty referenced this topic on
                        Reply
                        • Reply as topic
                        Log in to reply
                        • Oldest to Newest
                        • Newest to Oldest
                        • Most Votes


                        • Login

                        • Don't have an account? Register

                        • Login or register to search.
                        • First post
                          Last post
                        0
                        • Categories
                        • Recent
                        • Tags
                        • Popular
                        • Bookmarks
                        • Search