# \-bash ...command not found. Email setup Bitnami

**URL:** https://meta.discourse.org/t/bash-command-not-found-email-setup-bitnami/34174
**Category:** Support
**Tags:** email
**Created:** [October 6, 2015, 3:46am UTC](https://meta.discourse.org/t/bash-command-not-found-email-setup-bitnami/34174 "2015-10-06T03:46:20Z")
**Posts on this page:** 18
**Page:** 1

<div class="post-metadata">

### Author: ![Minzy](https://avatars.discourse-cdn.com/v4/letter/m/9dc877/32.png) [@Minzy](https://meta.discourse.org/u/Minzy)
#### Post date: [October 6, 2015, 3:46am UTC](https://meta.discourse.org/t/bash-command-not-found-email-setup-bitnami/34174/1 "2015-10-06T03:46:20Z")

</div>

Can anyone help. Trying to setup email in digital ocean with putty but after copying & pasting this  
smtp\_address = “[smtp.mandrillapp.com](http://smtp.mandrillapp.com)”  
smtp\_port = 587  
smtp\_domain = your\_domain.com  
smtp\_user\_name = ‘your\_email\_registered\_at\_mandrill’  
smtp\_password = ‘any\_mandrill\_api\_key\_in\_your\_account’  
smtp\_enable\_start\_tls = true  
authentication = login  
enable\_starttls\_auto = true

with my info all I get is “-bash: … : command not found.”  
At my wits end pls help

---

<div class="post-metadata">

### Author: ![tgxworld](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tgxworld/32/106117_2.png) [@tgxworld](https://meta.discourse.org/u/tgxworld)
#### Post date: [October 6, 2015, 6:35am UTC](https://meta.discourse.org/t/bash-command-not-found-email-setup-bitnami/34174/2 "2015-10-06T06:35:50Z")

</div>

Is that the full error trace?

---

<div class="post-metadata">

### Author: ![Minzy](https://avatars.discourse-cdn.com/v4/letter/m/9dc877/32.png) [@Minzy](https://meta.discourse.org/u/Minzy)
#### Post date: [October 6, 2015, 11:00am UTC](https://meta.discourse.org/t/bash-command-not-found-email-setup-bitnami/34174/3 "2015-10-06T11:00:24Z")

</div>

Sorry total noob here. Where do I find the error trace.

Are these commands intended for the putty/digi ocean interface or the discourse app itself?  
Thanks

---

<div class="post-metadata">

### Author: ![Minzy](https://avatars.discourse-cdn.com/v4/letter/m/9dc877/32.png) [@Minzy](https://meta.discourse.org/u/Minzy)
#### Post date: [October 6, 2015, 11:42am UTC](https://meta.discourse.org/t/bash-command-not-found-email-setup-bitnami/34174/4 "2015-10-06T11:42:17Z")

</div>

I’m trying to follow these directions as I type them directly into the digi ocean console…it should be pretty straight forward, but I just can’t seem to get anywhere with them. Is there a command line that should start this of i.e sudo…?

Directions: To configure SMTP settings using and external SMTP server, you have to add the lines indicated below to you installdir/apps/discourse/htdocs/config/discourse.conf, for instance, after the line:  
The required lines to configure SMTP are the following:  
smtp\_address = “SMTP\_HOSTNAME”  
smtp\_port = SMTP\_PORT  
smtp\_domain = [example.com](http://example.com)  
smtp\_user\_name = ‘SMTP\_USER’  
smtp\_password = ‘SMTP\_PASSWORD’  
smtp\_enable\_start\_tls = true

---

<div class="post-metadata">

### Author: ![tgxworld](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tgxworld/32/106117_2.png) [@tgxworld](https://meta.discourse.org/u/tgxworld)
#### Post date: [October 6, 2015, 12:04pm UTC](https://meta.discourse.org/t/bash-command-not-found-email-setup-bitnami/34174/5 "2015-10-06T12:04:10Z")

</div>

Ah I see what you’re doing. Are you pasting those lines directly into the command line?

Following this guide might help:

> <https://github.com/discourse/discourse/blob/main/docs/INSTALL-cloud.md>

---

<div class="post-metadata">

### Author: ![Minzy](https://avatars.discourse-cdn.com/v4/letter/m/9dc877/32.png) [@Minzy](https://meta.discourse.org/u/Minzy)
#### Post date: [October 6, 2015, 12:56pm UTC](https://meta.discourse.org/t/bash-command-not-found-email-setup-bitnami/34174/6 "2015-10-06T12:56:01Z")

</div>

Hi yes I am. I should state I sent through Bitnami so it seems your above directions are different.  
Here’s what I’m copy pasting into the console line for line as the instructions say here [https://wiki.bitnami.com/Applications/BitNami\_Discourse](https://wiki.bitnami.com/Applications/BitNami_Discourse)

**installdir/apps/discourse/htdocs/config/discourse.conf**  
**smtp\_address = “SMTP\_HOSTNAME”**  
**smtp\_port = SMTP\_PORT**  
**smtp\_domain = [example.com](http://example.com)**  
**smtp\_user\_name = ‘SMTP\_USER’**  
**smtp\_password = ‘SMTP\_PASSWORD’**  
**smtp\_enable\_start\_tls = true**

What could be amiss? I wish this was more user friendly. I’ve tried everything and need this working like yesterday.  
Thanks

---

<div class="post-metadata">

### Author: ![watchmanmonitor](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/watchmanmonitor/32/430970_2.png) [@watchmanmonitor](https://meta.discourse.org/u/watchmanmonitor)
#### Post date: [October 6, 2015, 1:12pm UTC](https://meta.discourse.org/t/bash-command-not-found-email-setup-bitnami/34174/7 "2015-10-06T13:12:26Z")

</div>

Has bitnami migrated their setup to the docker config? If not, it’s going to be hard to get support here.

I will say that the lines which begin smtp\_ are to be pasted into a the discourse.conf file, not entered in a prompt.

If you really Need It Done, Discourse offers a one-time setup for $99 - [https://payments.discourse.org/buy/](https://payments.discourse.org/buy/) (It won’t be using bitnami tho)

---

<div class="post-metadata">

### Author: ![tgxworld](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tgxworld/32/106117_2.png) [@tgxworld](https://meta.discourse.org/u/tgxworld)
#### Post date: [October 6, 2015, 1:39pm UTC](https://meta.discourse.org/t/bash-command-not-found-email-setup-bitnami/34174/8 "2015-10-06T13:39:36Z")

</div>

> [@Minzy](#):
>
> I’ve tried everything and need this working like yesterday.

I would suggest following the official Discourse guide :smile:

---

<div class="post-metadata">

### Author: ![Minzy](https://avatars.discourse-cdn.com/v4/letter/m/9dc877/32.png) [@Minzy](https://meta.discourse.org/u/Minzy)
#### Post date: [October 6, 2015, 1:45pm UTC](https://meta.discourse.org/t/bash-command-not-found-email-setup-bitnami/34174/9 "2015-10-06T13:45:05Z")

</div>

$99 Oye we are not all Trumps :neutral_face: , plus this is a non profit and like the last step.

If I could only locate the darn discourse.conf file. I have a feeling the installdir path might be the culprit.

Wondering if it should be something else.

---

<div class="post-metadata">

### Author: ![tgxworld](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tgxworld/32/106117_2.png) [@tgxworld](https://meta.discourse.org/u/tgxworld)
#### Post date: [October 6, 2015, 1:58pm UTC](https://meta.discourse.org/t/bash-command-not-found-email-setup-bitnami/34174/10 "2015-10-06T13:58:04Z")

</div>

Is there a reason why you would need to follow the bitnami guide rather than the official supported version given that you’re using a digital ocean droplet? :confused:

---

<div class="post-metadata">

### Author: ![Minzy](https://avatars.discourse-cdn.com/v4/letter/m/9dc877/32.png) [@Minzy](https://meta.discourse.org/u/Minzy)
#### Post date: [October 6, 2015, 2:29pm UTC](https://meta.discourse.org/t/bash-command-not-found-email-setup-bitnami/34174/11 "2015-10-06T14:29:43Z")

</div>

> Is there a reason why you would need to follow the bitnami guide rather than the official supported version given that you’re using a digital ocean droplet?

Unfortunately it doesn’t seem to apply after trying to follow it. I already have discourse installed, not using docker I think. so can’t pick up the directions from app.yml or copy app.yml part because I don’t have that folder or file.

---

<div class="post-metadata">

### Author: ![Minzy](https://avatars.discourse-cdn.com/v4/letter/m/9dc877/32.png) [@Minzy](https://meta.discourse.org/u/Minzy)
#### Post date: [October 6, 2015, 2:46pm UTC](https://meta.discourse.org/t/bash-command-not-found-email-setup-bitnami/34174/12 "2015-10-06T14:46:01Z")

</div>

Thanks for your attempts at helping I finally got support from the Bitnami folks.  
Pls for goodness sake can we go back to UI’s that don’t require degrees to operate and instructions that are accurate? Pero why do I need to see the backend Anyways?!  
OK time for a bagel.

I miss Steve jobs :sob:

If anyone is in the same predicament here’s a link to my resolution and how to access discourse.conf file.  
[https://community.bitnami.com/t/discourse-403-error/37236/4](https://community.bitnami.com/t/discourse-403-error/37236/4)

---

<div class="post-metadata">

### Author: ![tgxworld](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tgxworld/32/106117_2.png) [@tgxworld](https://meta.discourse.org/u/tgxworld)
#### Post date: [October 6, 2015, 2:56pm UTC](https://meta.discourse.org/t/bash-command-not-found-email-setup-bitnami/34174/13 "2015-10-06T14:56:14Z")

</div>

> [@Minzy](#):
>
> Pls for goodness sake can we go back to UI’s that don’t require degrees to operate and instructions that are accurate? Pero why do I need to see the backend Anyways?!

You could [pay Discourse](https://discourse.org/pricing) to host it for you and you wouldn’t need to see the backend at all :wink:

---

<div class="post-metadata">

### Author: ![Minzy](https://avatars.discourse-cdn.com/v4/letter/m/9dc877/32.png) [@Minzy](https://meta.discourse.org/u/Minzy)
#### Post date: [October 6, 2015, 3:28pm UTC](https://meta.discourse.org/t/bash-command-not-found-email-setup-bitnami/34174/14 "2015-10-06T15:28:23Z")

</div>

Not sure if that argument holds much weight and yeah maybe if the cost was reasonable but with the price of your primary hosting, plus themes + every other cost to run a site plus this…? you see how it quickly becomes unsustainable.

Hopefully they figure out how to make it affordable and people friendly,otherwise like all else someone else will come with the 2.0 and do so thus rendering it like blockbuster…Yeah remember them :smirk:

It definitely scores 9.5 for features but 0 for user implementation.

---

<div class="post-metadata">

### Author: ![Mittineague](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mittineague/32/114259_2.png) [@Mittineague](https://meta.discourse.org/u/Mittineague)
#### Post date: [October 6, 2015, 3:36pm UTC](https://meta.discourse.org/t/bash-command-not-found-email-setup-bitnami/34174/15 "2015-10-06T15:36:32Z")

</div>

Do you think that some of the problem may have to do with the fact that  
“Bitnami Container Images for Docker” are Beta?

[https://bitnami.com/docker](https://bitnami.com/docker)

---

<div class="post-metadata">

### Author: ![tgxworld](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tgxworld/32/106117_2.png) [@tgxworld](https://meta.discourse.org/u/tgxworld)
#### Post date: [October 6, 2015, 3:44pm UTC](https://meta.discourse.org/t/bash-command-not-found-email-setup-bitnami/34174/16 "2015-10-06T15:44:07Z")

</div>

well “reasonable” and “affordable” is subjective isn’t it? For instance, Apple has great products but it also come at a pretty hefty cost if you ask me.

Anyway, I’m sure you would have a much better experience if you followed the official installation guide :smiley:

---

<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: [October 6, 2015, 9:59pm UTC](https://meta.discourse.org/t/bash-command-not-found-email-setup-bitnami/34174/17 "2015-10-06T21:59:05Z")

</div>

Bitnami installs are not supported due to limited staff time, sorry. We can only support the Docker install here.

---

<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: [October 6, 2015, 9:59pm UTC](https://meta.discourse.org/t/bash-command-not-found-email-setup-bitnami/34174/18 "2015-10-06T21:59:09Z")

</div>


