How Do I Set Up the E-Mail SMTP Server Required for Discourse?

Hello, I am new to discourse. So forgive me if my questions are simple.
I rented a cloud from Hetzner. I will start Ubuntu installation and discourse installation but I don’t know how to set smtp email settings on the server. Is there any instruction how to set email settings?

You should be able to find all the info you need here - the documentation category will have links for email help (see docs sidebar).

2 Likes

I started service from brevo. I can’t do dns record operation from domain records. If I do, I will go to setup and other settings. There is actually a process that seems simple but very complicated. If I cannot do dns record and mail forwarding, I will have problems after installation. Is it unreasonable to make SMTP settings after discourse installation?

i don’t know anything about brevo but if you use the search feature you can find topics about it

are you doing a standard install?

1 Like

I’m trying to do a standard installation, I’m following the instructions, but I can’t get it to work, it’s taken me hours. It’s not for the casual user.

Hi @Can, could you please share your email configuration for a more traceable solution?

Except for email configuration
After ./discourse-setup command
I get the error -bash: ./discourse-setup:No such file or directory.

@Can looks like the ./discourse-setup command isn’t showing up because the Discourse Docker repo might not have been set up right. Try this:

  1. Run sudo -s to switch to root.
  2. Clone the repo:
    git clone https://github.com/discourse/discourse_docker.git /var/discourse
    
  3. Go to the directory:
    cd /var/discourse
    
  4. Set permissions (just in case):
    chmod 700 containers
    

Once you’re in /var/discourse, you should be able to run ./discourse-setup.

Give that a shot one more time and it should be working fine.

2 Likes

@Sidi_Codet Thank you, I will try again. Do you know of any video tutorials?