docker-mailserver/target/scripts/startup
Brennan Kinney 26053c22bd
fix: _create_accounts() should run after waiting (#2731)
When waiting on an account to be added to `postfix-accounts.cf`, Dovecot account creation during the startup process had already run.

Startup continued without properly creating the mail account for Dovecot. Methods like `setup email list` (with `ENABLE_QUOTAS=1`) would fail. `changedetector` service was required to be triggered to re-create Dovecot users.

- Wrapped the logic for wait + shutdown into a function call.
- Moved `_create_accounts()` to bottom of the setup function.
2022-08-22 10:44:23 +12:00
..
check-stack.sh scripts: more consistency in start-mailserver.sh (#2587) 2022-05-15 23:37:21 +02:00
daemons-stack.sh Remove unnecessary quotes from command substitutions (#2561) 2022-05-05 10:28:38 +02:00
fixes-stack.sh chore: Extract out /var/mail ownership workaround (#2628) 2022-06-08 10:09:19 +12:00
misc-stack.sh fix: Only add state of enabled services for volume mount (#2608) 2022-06-05 12:02:25 +12:00
setup-stack.sh fix: _create_accounts() should run after waiting (#2731) 2022-08-22 10:44:23 +12:00