One Day Sec

How do you enable debug mode on a Zimbra server?

To enable debug mode, first stop Zimbra services with 'zmcontrol stop'. Then backup and replace the zmmailboxdmgr file with its unrestricted version. Add JVM debug options via 'zmlocalconfig -e mailboxd_java_options' including the JDWP agent listening on port 8000. Disable the firewall with 'ufw disable' and restart Zimbra services.

---
**Related reading:**
- Setting up Zimbra Vulnerability Debugging Environment — original article
- Penetration Techniques - Enabling Anonymous Access Shares on Windows Systems via Command Line
- Steganography Techniques - Hiding Payloads Using JPEG File Format
- vRealize Log Insight Vulnerability Debugging Environment Setup
Zimbradebug modeJDWPremote debuggingmailboxd_java_options

Browse all Q&A →