# Problem with SMTP configuration

**URL:** <https://forum.mattermost.com/t/problem-with-smtp-configuration/8021>\
**Category:** Troubleshooting\
**Created:** [September 2, 2019, 8:18am UTC](https://forum.mattermost.com/t/problem-with-smtp-configuration/8021 "2019-09-02T08:18:49Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Przemek\_Boniarczyk](https://avatars.discourse-cdn.com/v4/letter/p/b5ac83/32.png) [@Przemek\_Boniarczyk](https://forum.mattermost.com/u/Przemek_Boniarczyk)\
**Post date:** [September 2, 2019, 8:18am UTC](https://forum.mattermost.com/t/problem-with-smtp-configuration/8021/1 "2019-09-02T08:18:49Z")

</div>

#### Summary

Mattermost SMTP configuration for SMTP relay using

#### Steps to reproduce

Mattermost Team Edition  
Mattermost Version: 5.14.0  
Database Schema Version: 5.14.0  
Database: postgres  
SMTP configuration:

 ![smtp_conf](https://us1.discourse-cdn.com/flex020/uploads/mattermost/original/2X/5/571d359ff6582e24e29bbdb9b7b9d39838b79efd.jpeg)  
I have smtp relay in gmail,configurated to allow all messages from mattermost server IP ,with TLS on and without SMTP authentication off.I dont have TLS configurated on mattermost server - only on proxy.

#### Expected behavior

Mail messages should be delivered to recipient.

#### Observed behavior

Mail messages are not sent by the Mattermost server.He asks for turning on SMTP authentification.But [noreply@example.com](mailto:noreply@example.com) accounts they don’t need it.  
From logs:  
{“level”:“error”,“ts”:1567412113.274531,“caller”:“app/email.go:354”,“msg”:“Failed to send invite email successfully err=SendMail: Error setting “From Address”, 530 5.5.1 Authentication Required. Learn more at\n5.5.1 [https://support.google.com/mail/?p=WantAuthError](https://support.google.com/mail/?p=WantAuthError) o20sm2236716ljg.31 - gsmtp”}

---

<div class="post-metadata">

**Author:** ![ahmaddanial](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/ahmaddanial/32/2938_2.png) [@ahmaddanial](https://forum.mattermost.com/u/ahmaddanial)\
**Post date:** [September 3, 2019, 3:43am UTC](https://forum.mattermost.com/t/problem-with-smtp-configuration/8021/2 "2019-09-03T03:43:05Z")

</div>

Hi, @Przemek_Boniarczyk

I am closing this off as a **duplicate** of the other topic you created below:

- [SMTP Relay configuration not working](https://forum.mattermost.com/t/smtp-relay-configuration-not-working/8023/2)

Feel free to respond back to the other topic for follow ups. Thanks.

---

<div class="post-metadata">

**Author:** ![ahmaddanial](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/ahmaddanial/32/2938_2.png) [@ahmaddanial](https://forum.mattermost.com/u/ahmaddanial)\
**Post date:** [September 3, 2019, 3:43am UTC](https://forum.mattermost.com/t/problem-with-smtp-configuration/8021/3 "2019-09-03T03:43:10Z")

</div>

Closed on September 3, 2019, 3:43am UTC


