# What is wrong at docker-compose Email settings?

**URL:** <https://community.graylog.org/t/what-is-wrong-at-docker-compose-email-settings/15657>\
**Category:** Graylog Central (peer support)\
**Created:** [May 28, 2020, 8:28am UTC](https://community.graylog.org/t/what-is-wrong-at-docker-compose-email-settings/15657 "2020-05-28T08:28:47Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![saucompeng](https://sea2.discourse-cdn.com/flex016/user_avatar/community.graylog.org/saucompeng/32/6516_2.png) [@saucompeng](https://community.graylog.org/u/saucompeng)\
**Post date:** [May 28, 2020, 8:28am UTC](https://community.graylog.org/t/what-is-wrong-at-docker-compose-email-settings/15657/1 "2020-05-28T08:28:47Z")

</div>

Hi Everyone,

I want to enable email notification on docker-compose file. My configuration lines at the following lines. What is wrong? It gives an error like _“The configuration for the email transport subsystem has shown to be missing or invalid. Please check the related section of your Graylog server configuration file. This is the detailed error message: Email transport is not enabled in server configuration file!”_

graylog:  
image: graylog/graylog:2.5  
environment:  
- GRAYLOG\_PASSWORD\_SECRET=------  
- GRAYLOG\_WEB\_ENDPOINT\_URI=http://10.240.1.152:9000/api  
- GRAYLOG\_HTTP\_EXTERNAL\_URI=http://10.240.1.152:9000/  
- GRAYLOG\_TRANSPORT\_EMAIL\_ENABLED=true  
- GRAYLOG\_TRANSPORT\_EMAIL\_WEB\_INTERFACE\_URL=http://10.240.1.152:9000  
- GRAYLOG\_TRANSPORT\_EMAIL\_HOSTNAME=[SMTP.yandex.com](http://SMTP.yandex.com)  
- GRAYLOG\_TRANSPORT\_EMAIL\_PORT=465  
- GRAYLOG\_TRANSPORT\_EMAIL\_USE\_AUTH=true  
- GRAYLOG\_TRANSPORT\_EMAIL\_AUTH\_USERNAME=alert@------.com  
- GRAYLOG\_TRANSPORT\_EMAIL\_AUTH\_PASSWORD=------  
- GRAYLOG\_TRANSPORT\_EMAIL\_USE\_TLS=false  
- GRAYLOG\_TRANSPORT\_EMAIL\_USE\_SSL=true  
- GRAYLOG\_TRANSPORT\_EMAIL\_FROM\_EMAIL=alert@------.com  
- GRAYLOG\_TRANSPORT\_EMAIL\_SUBJECT\_PREFIX=[graylog]

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/graylog/original/3X/c/7/c7c09c6b5099570133d6502b83f50ba4430de5b6.png) [@system](https://community.graylog.org/u/system)\
**Post date:** [June 11, 2020, 8:28am UTC](https://community.graylog.org/t/what-is-wrong-at-docker-compose-email-settings/15657/2 "2020-06-11T08:28:48Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
