# Problem with SMTP configuration

**URL:** <https://meta.discourse.org/t/problem-with-smtp-configuration/65892>\
**Category:** Self-hosting\
**Created:** [2017 年 7 月 9 日午後 3:01 UTC](https://meta.discourse.org/t/problem-with-smtp-configuration/65892 "2017-07-09T15:01:56Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![Pawel\_Kosiorek](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pawel_kosiorek/32/75785_2.png) [@Pawel\_Kosiorek](https://meta.discourse.org/u/Pawel_Kosiorek)\
**Post date:** [2017 年 7 月 9 日午後 3:01 UTC](https://meta.discourse.org/t/problem-with-smtp-configuration/65892/1 "2017-07-09T15:01:56Z")

</div>

Hi!  
I went through most of the “SMTP problems” threads but still cannot solve my problem.  
Ubuntu in AWS EC2, fresh Discourse installation, can’t receive confirmation email.  
Current configuration:

```
DISCOURSE_SMTP_ADDRESS: smtp.motomirko.pl
DISCOURSE_SMTP_PORT: 465
DISCOURSE_SMTP_USER_NAME: admin@motomirko.pl
DISCOURSE_SMTP_PASSWORD: secretplainpassword
DISCOURSE_SMTP_ENABLE_START_TLS: true

```

I can telnet to smtp.motomirko.pl 465 from instance, connection is ok.  
I test my mail server with setting outlook client, and there I saw the problem. When connection was set only to TLS than it was refused, when I set to SSL than connection was successful.  
I’m not really sure is it helpful.  
Dump from logs : [Started POST "/finish-installation/register" for 87.206.151.152 at 2017-07-09 14 - Pastebin.com](https://pastebin.com/jD4ftdrt)

Please help!  
Cheers!

---

_[View the full topic](https://meta.discourse.org/t/problem-with-smtp-configuration/65892)._
