
Trace Zimbra’s Deferred Mail to a Port 25 Timeout
Trace Zimbra’s deferred SMTP queue to the exact MX or relay, test TCP port 25 from the MTA, and fix the network path without deleting queued mail.
When Zimbra mailbox logs report “DB Error,” “DB Failure,” or a database corruption exception, do not start by repairing or deleting tables. First determine whether MySQL/MariaDB is unavailable, credentials are out of sync, storage is full, or the database engine reports actual corruption. Preserve logs and backups; use integrity and read-only checks before recovery.
On the affected mailbox server, inspect the same time window in mailbox.log and the database error log. As the Zimbra operating-system user:
su - zimbra
tail -n 200 /opt/zimbra/log/mailbox.log
tail -n 200 /opt/zimbra/log/mysql_error.log
zmcontrol status
df -h /opt/zimbra
Use timestamps and surrounding lines, not just the first “DB Failure” message. Zimbra documents mailbox.log as mailbox activity logging and mysql_error.log as a place to check database health and corruption. A stopped database, full filesystem, or repeated connection errors points toward availability or resource trouble. InnoDB messages about damaged pages, tablespaces, or failed crash recovery are stronger evidence of engine-level corruption. A generic Java SQL exception alone does not prove the database files are corrupt.

Verify that the Zimbra user can connect to the local database. Zimbra’s mailbox troubleshooting notes that an out-of-sync MySQL password can prevent mailbox services from starting:
mysql zimbra
If authentication or socket errors appear, save the exact output and check the database service and local configuration. Do not reset passwords or edit my.cnf based on a generic error; follow the procedure for your installed Zimbra version or involve support.
Run Zimbra’s integrity report:
/opt/zimbra/libexec/zmdbintegrityreport -v
The report can identify database/table integrity problems, but interpret output with the storage engine and Zimbra release in mind. Zimbra documentation specifically notes that REPAIR TABLE does not repair InnoDB tables. Warnings in archived guidance are not universal instructions for current systems. Save the full report and error output before making changes.
If logs identify one mailbox group, keep further investigation scoped to that evidence. Zimbra organizes mailbox records into mboxgroup databases. Use supported mailbox administration commands for your installed version to identify mailbox ID and group; do not guess the group from a fixed formula because local configuration may change the group count.

Record the Zimbra version, affected server, error timestamps, service status, disk usage, and relevant mailbox or group IDs. Check available backups for the account:
zmbackupquery -a user@example.com
Confirm the backup is readable and appropriate for the recovery point; a listed backup alone does not prove that restore will succeed. Preserve a current backup or storage snapshot using your normal supported procedure, and confirm adequate destination space. Never remove files from /opt/zimbra/db/data, drop an mboxgroup, or restore over live database files as an exploratory test.
Database records and message content are related but not interchangeable. Zimbra documentation describes metadata such as message headers, contacts, and calendar data in database tables, while message content resides in the message store. Restoring only one side can leave mailboxes inconsistent, so plan recovery with both database state and mailbox content in view.

Do not run REPAIR TABLE against InnoDB tables just because an integrity report shows an error. Do not increase innodb_force_recovery casually: it is a data-extraction aid during controlled recovery, not a routine fix. The wrong action for the storage engine or release can make recovery harder.

After a supported fix or restore, check service state and rerun the integrity report. Review fresh entries in both logs for recurring database exceptions, then test the affected mailbox and, where relevant, a second mailbox on the same store. Confirm expected folders, recent messages, contacts, and calendar items are present; a running mailboxd process alone does not show that data is complete.
Close the incident only when the database remains available, integrity output has been reviewed, the original failure is no longer recurring, and the account can access the expected data for its restore point. Keep logs and recovery notes with the incident record.

Trace Zimbra’s deferred SMTP queue to the exact MX or relay, test TCP port 25 from the MTA, and fix the network path without deleting queued mail.

Increase Zimbra’s per-file and message-size limits together, then verify uploads and delivery without setting inconsistent MTA caps.

Find oversized Zimbra audit logs, check retention, and reclaim disk space while preserving required security records and avoiding the wrong audit file.

Separate a browser-side loading problem from a Zimbra server issue with safe checks, targeted log review, and version-aware recovery steps.

Publish the right DNS records, enable Zimbra DKIM signing, and verify SPF and DMARC alignment before enforcing mail authentication.

Configure per-domain LDAP authentication in Zimbra with a bind template or search filter, encrypted transport, and a test account before rollout.

Configure every Zimbra Proxy host to redirect webmail traffic to HTTPS, restart Nginx, and verify the redirect and certificate safely.

Set the GAL polling interval for a Zimbra domain, run an immediate sync, and verify updates without confusing directory lookup with address-book synchronization.

Diagnose a Zimbra LDAP boot failure by checking slapd, startup logs, disk space, TLS permissions, and host connectivity before restarting dependent services.