mssql remaps a user only when orphaned; mailu's operator tool no longer re-enables

ALTER USER ... WITH LOGIN runs only when the user's SID is not the
login's, so an already-mapped user is left alone. The provisioner
enables a mailbox through its own method; the password tool an
operator uses keeps changing the password only.
This commit is contained in:
jochen
2026-09-26 01:30:15 +02:00
parent 6fd93afc6c
commit 620b47d309
3 changed files with 22 additions and 6 deletions
+1 -1
View File
@@ -48,7 +48,7 @@ runProvisioner("smtp", {
try {
await mailu.createUser(email, p.password);
} catch {
await mailu.changePassword(email, p.password);
await mailu.applyProvisioned(email, p.password);
}
},