# Kan DISCOURSE\_SMTP\_AUTHENTICATION niet instellen: login

**URL:** <https://meta.discourse.org/t/cant-set-discourse-smtp-authentication-login/207461>\
**Category:** Self-hosting\
**Created:** [28 oktober 2021 om 21:42 UTC](https://meta.discourse.org/t/cant-set-discourse-smtp-authentication-login/207461 "2021-10-28T21:42:51Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![Simon\_Manning](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/simon_manning/32/198596_2.png) [@Simon\_Manning](https://meta.discourse.org/u/Simon_Manning)\
**Post date:** [29 oktober 2021 om 14:56 UTC](https://meta.discourse.org/t/cant-set-discourse-smtp-authentication-login/207461/7 "2021-10-29T14:56:02Z")

</div>

If there is a firewall involved, that connected line might be misleading. It could just be reporting that it has successfully connected to something when trying that domain (`in-v3.` is an alias to `in.`) but that something is the firewall which is then closing the connection.

Another one you could try is `telnet smtp-relay.gmail.com 587`. If that fails in the same way, I’d think it’s likely the port is blocked on your Digital Ocean server. This may be a firewall outside of your server or firewall software running on your server.

For the former, you may be able to control this from somewhere in your account’s control panel or you may need to contact them. For the latter it’s probably `iptables`, you can use the following command to see if that’s the case and list the rules that apply to outbound connections.

```plaintext
iptables -S OUTPUT

```

---

_[View the full topic](https://meta.discourse.org/t/cant-set-discourse-smtp-authentication-login/207461)._
