# Docker SMTP testing

**URL:** <https://community.passbolt.com/t/docker-smtp-testing/2375>\
**Category:** Installation Issues\
**Created:** [January 22, 2020, 4:17pm UTC](https://community.passbolt.com/t/docker-smtp-testing/2375 "2020-01-22T16:17:15Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![The\_Skippy](https://avatars.discourse-cdn.com/v4/letter/t/919ad9/32.png) [@The\_Skippy](https://community.passbolt.com/u/The_Skippy)\
**Post date:** [January 22, 2020, 4:17pm UTC](https://community.passbolt.com/t/docker-smtp-testing/2375/1 "2020-01-22T16:17:15Z")

</div>

I’m trying to install a docker version of passbolt. I’ve got several issues at the moment but I’m currently trying to verify my SMTP environmental variables are correct. When I try to send a test email I get the output below. (I subbed in XXX for my personal info)

**How do I change the** “Sending email to:” so that I can actually verify emails are being delivered?

/ \_\_ \_\_\_\_ \_\_\_\_\_ \_\__/ / \_\_\_\_ / / /_

/ /\_/ / \_\_ `/ \_\_\_/ \_\_\_/ \_\_ / \_\_ / / \_\_/

/ _**/ // (** |_\_ ) /_/ / /_/ / / /

/_/ \ __,_/__ **/** __/_._ **/\_** _/_/\__ /

Open source password manager for teams

* * *

Debug email shell

* * *

Email configuration

* * *

Host: XXXXXX

Port: 25

Username:

Password: \*\*\*\*\*\*\*\*\*

TLS: false

Sending email from: XXXXXXXX

Sending email to: [doesnotexist@passboltdummydomain.com](mailto:doesnotexist@passboltdummydomain.com)

* * *

Trace

[220] XXXXXXX ESMTP Postfix

> EHLO localhost

[250] XXXXXXX

[250] PIPELINING

[250] SIZE 10485760

[250] ETRN

[250] STARTTLS

[250] AUTH PLAIN LOGIN

[250] AUTH=PLAIN LOGIN

[250] ENHANCEDSTATUSCODES

[250] 8BITMIME

[250] DSN

> MAIL FROM:[XXXXX@XXXXX](mailto:XXXXX@XXXXX)

[250] 2.1.0 Ok

---

<div class="post-metadata">

**Author:** ![The\_Skippy](https://avatars.discourse-cdn.com/v4/letter/t/919ad9/32.png) [@The\_Skippy](https://community.passbolt.com/u/The_Skippy)\
**Post date:** [January 25, 2020, 5:48pm UTC](https://community.passbolt.com/t/docker-smtp-testing/2375/2 "2020-01-25T17:48:58Z")

</div>

Any ideas how to change the send email to field?

---

<div class="post-metadata">

**Author:** ![garrett](https://yyz1.discourse-cdn.com/flex031/user_avatar/community.passbolt.com/garrett/32/545_2.png) [@garrett](https://community.passbolt.com/u/garrett)\
**Post date:** [January 25, 2020, 6:19pm UTC](https://community.passbolt.com/t/docker-smtp-testing/2375/3 "2020-01-25T18:19:06Z")

</div>

Hi @The_Skippy, although this doesn’t answer your question, the environment variables are not likely to be enough. SMTP uses credentials to log into an email provider, which will then send the email for you. I noticed your username is blank and port is 25. Typically the port will be 587. Which provider are you wanting to use?

---

<div class="post-metadata">

**Author:** ![The\_Skippy](https://avatars.discourse-cdn.com/v4/letter/t/919ad9/32.png) [@The\_Skippy](https://community.passbolt.com/u/The_Skippy)\
**Post date:** [January 26, 2020, 2:21am UTC](https://community.passbolt.com/t/docker-smtp-testing/2375/4 "2020-01-26T02:21:39Z")

</div>

Hi Garret, I forward to a local SMTP server relay. I get the registration emails so I assume everything works but I was just curious if there was a way to change the sending email to field in the test command. It would just be a convenient thing for the future.

---

<div class="post-metadata">

**Author:** ![garrett](https://yyz1.discourse-cdn.com/flex031/user_avatar/community.passbolt.com/garrett/32/545_2.png) [@garrett](https://community.passbolt.com/u/garrett)\
**Post date:** [January 26, 2020, 2:52am UTC](https://community.passbolt.com/t/docker-smtp-testing/2375/5 "2020-01-26T02:52:56Z")

</div>

Ah, I see. I found this in the FAQ, and you could try a docker exec maybe: [https://help.passbolt.com/faq/hosting/why-email-not-sent](https://help.passbolt.com/faq/hosting/why-email-not-sent)

---

<div class="post-metadata">

**Author:** ![The\_Skippy](https://avatars.discourse-cdn.com/v4/letter/t/919ad9/32.png) [@The\_Skippy](https://community.passbolt.com/u/The_Skippy)\
**Post date:** [January 26, 2020, 3:54am UTC](https://community.passbolt.com/t/docker-smtp-testing/2375/6 "2020-01-26T03:54:58Z")

</div>

excellent.thanks for the help!

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex031/uploads/passbolt/original/2X/b/bee7d3f9329f668000d46e9fcb2e5db1e9d31348.svg) [@system](https://community.passbolt.com/u/system)\
**Post date:** [January 31, 2020, 3:54am UTC](https://community.passbolt.com/t/docker-smtp-testing/2375/7 "2020-01-31T03:54:59Z")

</div>

Closed on January 31, 2020, 3:54am UTC

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