How do I enable debug mode on a Zimbra server for vulnerability research?

To enable debug mode, first stop the Zimbra service with `zmcontrol stop`. Then back up `/opt/zimbra/libexec/zmmailboxdmgr` and replace it with `zmmailboxdmgr.unrestricted`. Add JVM debug options by running `zmlocalconfig -e mailboxd_java_options="... -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:8000"`. Disable the firewall with `sudo ufw disable` and restart the service. These steps are detailed in [Setting up Zimbra Vulnerability Debugging Environment](/news/setting-up-zimbra-vulnerability-debugging-environment).