add an environment variable for the smtp_pass config option #1176

Closed
opened 2026-04-05 18:27:11 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @SigmaSquadron on 7/27/2025

Community Contribution License Agreement

By creating this pull request, I grant the project maintainers an unlimited,
perpetual license to use, modify, and redistribute these contributions under any terms they
choose, including both the AGPLv3 and the Fossorial Commercial license terms. I
represent that I have the right to grant this license for all contributed content.

Description

The password for secure authentication may be sensitive, so it is best to not leave it lying around in a config file. This commit introduces the EMAIL_SMTP_PASS environment variable, which can be set to configure the SMTP password without writing it to the configuration file.

How to test?

Start a Pangolin server as normal, but use EMAIL_SMTP_PASS instead of the config file to set up the mail server.

*Originally created by @SigmaSquadron on 7/27/2025* ## Community Contribution License Agreement By creating this pull request, I grant the project maintainers an unlimited, perpetual license to use, modify, and redistribute these contributions under any terms they choose, including both the AGPLv3 and the Fossorial Commercial license terms. I represent that I have the right to grant this license for all contributed content. ## Description The password for secure authentication may be sensitive, so it is best to not leave it lying around in a config file. This commit introduces the `EMAIL_SMTP_PASS` environment variable, which can be set to configure the SMTP password without writing it to the configuration file. ## How to test? Start a Pangolin server as normal, but use `EMAIL_SMTP_PASS` instead of the config file to set up the mail server.
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/pangolin#1176