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


  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
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

Cloudron Forum

Apps | Demo | Docs | Install

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

Scheduled Pinned Locked Moved Solved Support
mailoutbound
12 Posts 6 Posters 429 Views
    • 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.
  • scookeS Offline
    scookeS Offline
    scooke
    wrote on last edited by girish
    #1

    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
    0
  • nebulonN Offline
    nebulonN Offline
    nebulon Staff
    wrote on last edited by
    #2

    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
    2
  • girishG Do not disturb
    girishG Do not disturb
    girish Staff
    wrote on last edited by
    #3

    @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.

    scookeS 1 Reply Last reply
    0
  • scookeS Offline
    scookeS Offline
    scooke
    replied to girish on last edited by
    #4

    @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
    0
  • girishG Do not disturb
    girishG Do not disturb
    girish Staff
    wrote on last edited by
    #5

    @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.

    rmdesR 1 Reply Last reply
    0
  • rmdesR Offline
    rmdesR Offline
    rmdes
    replied to girish on last edited by
    #6

    @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 😕

    mehdiM 1 Reply Last reply
    0
  • mehdiM Offline
    mehdiM Offline
    mehdi App Dev
    replied to rmdes on last edited by
    #7

    @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
    2
  • scookeS Offline
    scookeS Offline
    scooke
    wrote on last edited by
    #8

    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
    0
  • nebulonN Offline
    nebulonN Offline
    nebulon Staff
    wrote on last edited by
    #9

    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
    0
  • girishG Do not disturb
    girishG Do not disturb
    girish Staff
    wrote on last edited by
    #10

    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
    1
  • jdaviescoatesJ Offline
    jdaviescoatesJ Offline
    jdaviescoates
    wrote on last edited by
    #11

    I just started getting this error too:

    yahoo.png

    I use Cloudron with Gandi & Hetzner

    1 Reply Last reply
    0
  • girishG Do not disturb
    girishG Do not disturb
    girish Staff
    wrote on last edited by
    #12

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

    1 Reply Last reply
    2

  • Login

  • Don't have an account? Register

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

  • Don't have an account? Register

  • Login or register to search.