# No mailtest option after install

**URL:** https://meta.discourse.org/t/no-mailtest-option-after-install/31127
**Category:** Self-hosting
**Tags:** docker
**Created:** [16 ביולי,‏ 2015,‏ 11:41pm UTC](https://meta.discourse.org/t/no-mailtest-option-after-install/31127 "2015-07-16T23:41:11Z")
**Posts on this page:** 10
**Page:** 1

<div class="post-metadata">

### Author: ![joshmings](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/joshmings/32/116276_2.png) [@joshmings](https://meta.discourse.org/u/joshmings)
#### Post date: [16 ביולי,‏ 2015,‏ 11:41pm UTC](https://meta.discourse.org/t/no-mailtest-option-after-install/31127/1 "2015-07-16T23:41:11Z")

</div>

Just went through a clean install on Digital Ocean. Bootstrapped and started fine. Went to mailtest app and option isn’t even there?

> root@talk:/var/discourse# ./launcher mailtest app  
> Usage: launcher COMMAND CONFIG [–skip-prereqs]  
> Commands:  
> start: Start/initialize a container  
> stop: Stop a running container  
> restart: Restart a container  
> destroy: Stop and remove a container  
> enter: Use nsenter to enter a container  
> ssh: Start a bash shell in a running container  
> logs: Docker logs for container  
> bootstrap: Bootstrap a container for the config based on a template  
> rebuild: Rebuild a container (destroy old, bootstrap, start new)  
> cleanup: Remove all containers that have stopped for \> 24 hours

> Options:  
> –skip-prereqs Don’t check prerequisites  
> –docker-args Extra arguments to pass when running docker

---

<div class="post-metadata">

### Author: ![riking](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/riking/32/170938_2.png) [@riking](https://meta.discourse.org/u/riking)
#### Post date: [17 ביולי,‏ 2015,‏ 12:51am UTC](https://meta.discourse.org/t/no-mailtest-option-after-install/31127/2 "2015-07-17T00:51:17Z")

</div>

That functionality was ripped out because it didn’t exactly work. Boot it all the way up, and send test emails from the admin panel; those go through the same routes as everything else.

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [17 ביולי,‏ 2015,‏ 1:14am UTC](https://meta.discourse.org/t/no-mailtest-option-after-install/31127/3 "2015-07-17T01:14:02Z")

</div>

Where are you finding reference to mailtest? We need to excise those. I can think of two places…

Edit: I just cleaned up a whole bunch of old topics referring to old email issues that should not happen with current versions (and/or are covered in the email troubleshooting guide), or are referring to the now removed Mailtest Python script.

---

<div class="post-metadata">

### Author: ![joshmings](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/joshmings/32/116276_2.png) [@joshmings](https://meta.discourse.org/u/joshmings)
#### Post date: [17 ביולי,‏ 2015,‏ 1:57am UTC](https://meta.discourse.org/t/no-mailtest-option-after-install/31127/4 "2015-07-17T01:57:37Z")

</div>

You’re quick! Force of habit after installing, checked and saw it on the [post-install maintenance](https://github.com/discourse/discourse/blob/master/docs/INSTALL-cloud.md#post-install-maintenance) section of the install, but you snagged that one too.

Thanks guys.

---

<div class="post-metadata">

### Author: ![Kovah](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/kovah/32/60310_2.png) [@Kovah](https://meta.discourse.org/u/Kovah)
#### Post date: [28 ביולי,‏ 2015,‏ 1:50pm UTC](https://meta.discourse.org/t/no-mailtest-option-after-install/31127/5 "2015-07-28T13:50:51Z")

</div>

> [@riking](#):
>
> Boot it all the way up, and send test emails from the admin panel; those go through the same routes as everything else.

But what if you can’t even access the admin panel because you couldn’t activate your admin account after a fresh install because you didn’t got the activation mail?

---

<div class="post-metadata">

### Author: ![riking](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/riking/32/170938_2.png) [@riking](https://meta.discourse.org/u/riking)
#### Post date: [28 ביולי,‏ 2015,‏ 8:18pm UTC](https://meta.discourse.org/t/no-mailtest-option-after-install/31127/6 "2015-07-28T20:18:07Z")

</div>

If you’re using SES, you can set DISCOURSE\_NOTIFICATION\_EMAIL to set the from address before being able to access the site settings. Or you can `./launcher enter app` and run `rake admin:create`.

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [28 ביולי,‏ 2015,‏ 11:20pm UTC](https://meta.discourse.org/t/no-mailtest-option-after-install/31127/7 "2015-07-28T23:20:43Z")

</div>

This shouldn’t happen – the domain name of the “from” email is set to the actual domain name of the site at install time.

The only way this would be a problem is if the domain name of the site is not set correctly, either.

---

<div class="post-metadata">

### Author: ![Kovah](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/kovah/32/60310_2.png) [@Kovah](https://meta.discourse.org/u/Kovah)
#### Post date: [30 ביולי,‏ 2015,‏ 12:40pm UTC](https://meta.discourse.org/t/no-mailtest-option-after-install/31127/8 "2015-07-30T12:40:37Z")

</div>

Does `rake admin:create` also activates the account?

It’s not about a domain problem or something else but how am I supposed to test if the system is able to send emails at all, i.e. if the configured SMTP server is working? Or do I understand something wrong with the activation email? I mean the SMTP server has to work if the mail should be send or not?

---

<div class="post-metadata">

### Author: ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)
#### Post date: [30 ביולי,‏ 2015,‏ 12:46pm UTC](https://meta.discourse.org/t/no-mailtest-option-after-install/31127/9 "2015-07-30T12:46:34Z")

</div>

> [@Kovah](#):
>
> Does rake admin:create also activates the account?

Yes it does activate the admin account.

---

<div class="post-metadata">

### Author: ![Kovah](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/kovah/32/60310_2.png) [@Kovah](https://meta.discourse.org/u/Kovah)
#### Post date: [30 ביולי,‏ 2015,‏ 12:48pm UTC](https://meta.discourse.org/t/no-mailtest-option-after-install/31127/10 "2015-07-30T12:48:03Z")

</div>

Okay then the mailtest function is not needed. Thanks for the fast answer!
