mailcow-reset-admin.sh regenerates the admin password and prints the new one, recovering access when the UI login is lost. It updates the password hash in the database directly. Run it with sudo from the Mailcow directory and change the password again in the UI.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.