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


    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    Solved SMTP error with smtp.mail.yahoo.com, but I don't use this?

    Support
    mail outbound
    6
    12
    413
    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.
    • scooke
      scooke last edited by girish

      Hi, I started getting this error recently. I looked in the logs for the domain/app in question but nothing with 'yahoo' appears. And the email setup for this domain is Outbound only, using the Built-in SMTP Server. How can I see what is causing this error?

      Relay error: Connect to smtp.mail.yahoo.com timed out. Check if port 25 (outbound) is blocked
      Email Status is checked every 30 minutes. See the troubleshooting docs for more information.
      

      A life lived in fear is a life half-lived

      1 Reply Last reply Reply Quote 0
      • nebulon
        nebulon Staff last edited by

        This is actually just a email status checker which in this case wants to verify that port 25 is open for outbound connections. Most server providers block port 25 by default and we want to show that in the UI.

        The whole list of servers the Cloudron tries to reach is at https://git.cloudron.io/cloudron/box/-/blob/master/src/mail.js#L102

        Maybe we should consider not checking that often though. The status of the outbound firewall usually does not change frequently.

        1 Reply Last reply Reply Quote 2
        • girish
          girish Staff last edited by

          @scooke You can check if telnet smtp.mail.yahoo.com 25 works on your server. If it doesn't i means that outbound mail is blocked from your server. You have to contact your VPS provider to unblock outbound port 25.

          If you are aware of this and don't care about sending out emails, then you can go to Email -> Select domain -> Outbound -> Disabled. That will remove the above notification.

          scooke 1 Reply Last reply Reply Quote 0
          • scooke
            scooke @girish last edited by

            @girish But, I want Outbound enabled. And under this option, it says I'm using the Built-in SMTP Server. So, does Cloudron use yahoo? When I click the Send Test Email icon an test email is successfully sent and received. And in the Raw Headers of the received email there is nothing about yahoo (just my Cloudron domain). So, did you mean in an earlier statement that Cloudron tests outgoing smtp servers? As in, a bunch of them? Why would it check the yahoo smtp server? (EDIT: I just checked https://git.cloudron.io/cloudron/box/-/blob/master/src/mail.js#L102 and it looks like the yahoo smtp check was removed. This makes sense since the Yahoo smtp server isn't a default option in the Outbound settings, although it looks like someone could use it if they set it up manually.) And since that edit was 3 hours ago I haven't yet received another notice about this, so I guess it has been taken care of. Thank you!

            A life lived in fear is a life half-lived

            1 Reply Last reply Reply Quote 0
            • girish
              girish Staff last edited by

              @scooke To check if outbound port 25 works, we connect through a list of hardcoded servers (the code link you pasted). One of them is yahoo. I have removed it for now.

              rmdes 1 Reply Last reply Reply Quote 0
              • rmdes
                rmdes @girish last edited by

                @girish I keep having this error too, I think these checks are way too often, maybe we even get rate limited and that's why we get timeout errors ?
                it's the only smtp check that fails, across all the domains we host at armada 😕

                mehdi 1 Reply Last reply Reply Quote 0
                • mehdi
                  mehdi App Dev @rmdes last edited by

                  @rmdes I don't think the rate limit is less than once every 30 minutes ^^

                  However, the check could indeed be done at intervals depending on the situation. Like do the check immediately when the config is changed, do it every 30 minutes or so until it succeeds once, then only once every day, and try 3 times before printing a warning (it could just be a random network timeout)

                  1 Reply Last reply Reply Quote 2
                  • scooke
                    scooke last edited by

                    It's increasing for me too. It used to be notifications for just one domain, but now two more are getting the same error notification. But, I thought you had removed this?

                    A life lived in fear is a life half-lived

                    1 Reply Last reply Reply Quote 0
                    • nebulon
                      nebulon Staff last edited by

                      Apparently yahoo started to block those requests from certain IPs/Cloudrons.
                      It is removed in the code, but this requires a new release to be made first for your Cloudron to receive that change.

                      1 Reply Last reply Reply Quote 0
                      • girish
                        girish Staff last edited by

                        TBH, I don't remember why we check every 30 mins for this. I will fix it to check just once a day for now. I agree with @mehdi though this can be made a lot smarter, but that's a task for another day.

                        1 Reply Last reply Reply Quote 1
                        • jdaviescoates
                          jdaviescoates last edited by

                          I just started getting this error too:

                          yahoo.png

                          I use Cloudron with Gandi & Hetzner

                          1 Reply Last reply Reply Quote 0
                          • girish
                            girish Staff last edited by

                            @jdaviescoates Yeah, removed it from our code for the next release. 5.5 should be out next week.

                            1 Reply Last reply Reply Quote 2
                            • First post
                              Last post
                            Powered by NodeBB