# Fresh Discourse/Docker install wont send mails

**URL:** <https://meta.discourse.org/t/fresh-discourse-docker-install-wont-send-mails/245255>\
**Category:** Self-hosting\
**Created:** [November 10, 2022, 10:31pm UTC](https://meta.discourse.org/t/fresh-discourse-docker-install-wont-send-mails/245255 "2022-11-10T22:31:00Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![funktionierbar](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/funktionierbar/32/281388_2.png) [@funktionierbar](https://meta.discourse.org/u/funktionierbar)\
**Post date:** [November 11, 2022, 6:32pm UTC](https://meta.discourse.org/t/fresh-discourse-docker-install-wont-send-mails/245255/3 "2022-11-11T18:32:11Z")

</div>

thank you for your reply. I tried using the same adress in both fields, no change, same error.  
Following the Troubleshooting thread:

## What do the Discourse logs say?

`Job exception: Cannot assign requested address - connect(2) for [_correct IPv6_]:587

## What do your email provider logs say?

No log entries show up relating to mails sent from discourse.

I then tried this Method [https://www.saotn.org/test-smtp-authentication-starttls/](https://www.saotn.org/test-smtp-authentication-starttls/) to see if I would be able to authenticate through openssl, and it works fine from the server, but not from inside the container, it produces the error I described in the first post.

How can I find out what is blocking the connection here?

---

_[View the full topic](https://meta.discourse.org/t/fresh-discourse-docker-install-wont-send-mails/245255)._
