# Unexpected errror in rake emails:test

**URL:** https://meta.discourse.org/t/unexpected-errror-in-rake-emails-test/387190
**Category:** Self-hosting
**Tags:** email, hosting
**Created:** [October 30, 2025, 3:06pm UTC](https://meta.discourse.org/t/unexpected-errror-in-rake-emails-test/387190 "2025-10-30T15:06:02Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![jardi](https://avatars.discourse-cdn.com/v4/letter/j/e480ec/32.png) [@jardi](https://meta.discourse.org/u/jardi)
#### Post date: [October 30, 2025, 3:06pm UTC](https://meta.discourse.org/t/unexpected-errror-in-rake-emails-test/387190/1 "2025-10-30T15:06:02Z")

</div>

Hello!

I’m testing how to run a self-hosted instance using my email in [riseup.net](http://riseup.net), but I’m not receiving the mails.

The dns resolution of [mail.riseup.net](http://mail.riseup.net) its working properly

```plaintext
root@discourse-app:/etc# getent hosts mail.riseup.net
198.252.153.170 mail.riseup.net
198.252.153.171 mail.riseup.net

```

and `openssl s_client -connect mail.riseup.net:465`successfuly connects to the server.

I’ve run `rake emails:test[]`with this result

```plaintext
root@discourse-app:/etc# rake emails:test[****@****.**]
Testing sending to ****@****. **using mail.riseup.net:465, username:**** @riseup.net with plain auth.
======================================== ERROR ========================================
                                    UNEXPECTED ERROR

Net::ReadTimeout

====================================== SOLUTION =======================================
This is not a common error. No recommended solution exists!

Please report the exact error message above to https://meta.discourse.org/
(And a solution, if you find one!)
=======================================================================================

```

I’ve also tried to rewrite the notifications email with `rails r “SiteSetting.notification_email = ‘ **** @riseup.net’”` with the same result in `rake emails:test[]`.

What could be the problem?

---

<div class="post-metadata">

### Author: ![tobiaseigen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tobiaseigen/32/539204_2.png) [@tobiaseigen](https://meta.discourse.org/u/tobiaseigen)
#### Post date: [November 7, 2025, 4:26pm UTC](https://meta.discourse.org/t/unexpected-errror-in-rake-emails-test/387190/2 "2025-11-07T16:26:06Z")

</div>

Looks like your topic didn’t find any takers. Were you able to figure it out the source of the issue on your own? If so, please share the solution for future travelers!

Cool that you’re usin riseup. I haven’t seen that name in a long time.
