# SMTP Configuration With Docker

**URL:** <https://community.graylog.org/t/smtp-configuration-with-docker/15984>\
**Category:** Graylog Central (peer support)\
**Created:** [June 18, 2020, 12:44am UTC](https://community.graylog.org/t/smtp-configuration-with-docker/15984 "2020-06-18T00:44:26Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![ipv89](https://avatars.discourse-cdn.com/v4/letter/i/b5a626/32.png) [@ipv89](https://community.graylog.org/u/ipv89)\
**Post date:** [June 18, 2020, 12:44am UTC](https://community.graylog.org/t/smtp-configuration-with-docker/15984/1 "2020-06-18T00:44:26Z")

</div>

My organisation is trialing Graylog before buying and we are having a few issues with email notifications.

I am trying to configure Graylog’s SMTP settings via env variables however, I still receive the error “Notification has email recipients and is triggered, but email transport is not configured. Email transport is not enabled in server configuration file!”

I have the below variables set.

TRANSPORT\_EMAIL\_ENABLED = true  
TRANSPORT\_EMAIL\_USE\_AUTH=false  
TRANSPORT\_EMAIL\_HOSTNAME=smtpr.xxxx.xx.xx  
TRANSPORT\_EMAIL\_PORT=25  
TRANSPORT\_EMAIL\_USE\_TLS=true  
TRANSPORT\_EMAIL\_USE\_SSL=false  
TRANSPORT\_EMAIL\_SUBJECT\_PREFIX=GrayLog  
TRANSPORT\_EMAIL\_FROM\_EMAIL=graylog@xxxx.xx.xx

Any idea on how to get this going. The documentation does not have a lot of info on this?

---

<div class="post-metadata">

**Author:** ![makarands](https://avatars.discourse-cdn.com/v4/letter/m/838e76/32.png) [@makarands](https://community.graylog.org/u/makarands)\
**Post date:** [June 18, 2020, 8:21am UTC](https://community.graylog.org/t/smtp-configuration-with-docker/15984/2 "2020-06-18T08:21:24Z")

</div>

@ipv89 Given SMTP configuration on Graylog servers looks fine to me. You should check with your Mail Server administrator to permit mail transport from the server. Also, you can check in case your firewall blocking it or not.

Hope this will helps you 🙂

---

<div class="post-metadata">

**Author:** ![jan](https://sea2.discourse-cdn.com/flex016/user_avatar/community.graylog.org/jan/32/11_2.png) [@jan](https://community.graylog.org/u/jan)\
**Post date:** [June 18, 2020, 10:38am UTC](https://community.graylog.org/t/smtp-configuration-with-docker/15984/3 "2020-06-18T10:38:36Z")

</div>

he @ipv89

you left out how you started Graylog … Docker-Compose or similar. But what I can say, you need the Prefix `GRAYLOG_` before the settings. Like written in the Docker specific parts of the docs.

---

<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:** [July 2, 2020, 10:38am UTC](https://community.graylog.org/t/smtp-configuration-with-docker/15984/4 "2020-07-02T10:38:38Z")

</div>

Closed on July 2, 2020, 10:38am UTC

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