Setting up a reset password website #2814
-
There's a request to set up a reset password website through which users can directly reset their password instead of asking the mail server administrator. Feature-wise, I can build and deploy a web server that interacts directly with the docker data of There are the steps I've thought of:
I would like to know if the above is valid. And if so, I would like if someone could point out on what files I need to read/update users' passwords. Thank You! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
You may be interested in https://github.com/docker-mailserver/docker-mailserver-admin It looks like development stalled there however. I worked on cleaning up our There shouldn't be a need to restart, the
The You should be able to perform your updates via those scripts, and that is likely going to be more reliable across releases, rather than directly manipulating any of the "database" files that we manage and generally assume no one else writes to (which could risk corruption). You will want to perform validation prior to calling the update, as you mention in step 2. The account data is available at docker-mailserver/test/setup-cli.bats Lines 72 to 99 in ff96950 Specifically of interest to you might be: docker-mailserver/test/setup-cli.bats Lines 95 to 96 in ff96950 That |
Beta Was this translation helpful? Give feedback.
You may be interested in https://github.com/docker-mailserver/docker-mailserver-admin
It looks like development stalled there however.
I worked on cleaning up our
setup
scripts for account management earlier in the year (setup email update
script). This would probably be the better way to update passwords infrequently, which is what you plan to do with step 4.There shouldn't be a need to restart, the
check-for-changes.sh
script should be monitoring for changes to the relevant files and handle any restarting needed for you. It should be ok, so long as you don't have passwords being changed often as each time those restarts happens it could make the mail-server services unavailable for ar…