# Please simple ways to change smtp\_password

**URL:** https://meta.discourse.org/t/resolu-please-les-modalites-simple-pour-modifier-smtp-password/388636
**Category:** Self-hosting
**Tags:** email
**Created:** [November 17, 2025, 9:03am UTC](https://meta.discourse.org/t/resolu-please-les-modalites-simple-pour-modifier-smtp-password/388636 "2025-11-17T09:03:40Z")
**Posts on this page:** 1
**Showing post:** 6

<div class="post-metadata">

### Author: ![vin100](https://avatars.discourse-cdn.com/v4/letter/v/6de8d8/32.png) [@vin100](https://meta.discourse.org/u/vin100)
#### Post date: [November 17, 2025, 9:49am UTC](https://meta.discourse.org/t/resolu-please-les-modalites-simple-pour-modifier-smtp-password/388636/6 "2025-11-17T09:49:19Z")

</div>

Thank you all for the quick replies. I’m summarizing [and updating with subsequent info] for beginners like me:

- Back up the database

- Connect via SSH

- Edit the file containing the password  
`sudo nano /var/discourse/containers/app.yml`

- Find the line containing the password  
`DISCOURSE_SMTP_PASSWORD: “your_smtp_password”`

- Enter the new password in plain text (deleting the old one)

- Save the new file: Ctrl+X, then confirm O (yes) or Y (yes), then Enter

- Rebuild (this may take time)  
`cd /var/discourse`  
`./launcher rebuild app`

- If only SMTP details were modified, you can limit yourself to

```plaintext
cd /var/discourse
./launcher destroy app
./launcher start app

```

for the changes to take effect.

---

_[View the full topic](https://meta.discourse.org/t/resolu-please-les-modalites-simple-pour-modifier-smtp-password/388636)._
