Troubleshooting (Zimbra): Difference between revisions

From vwiki
Jump to navigation Jump to search
(Initial creation - content from Zimbra page)
 
m (→‎LDAP Config Item Check/Modify: Added find/search example)
 
(One intermediate revision by the same user not shown)
Line 22: Line 22:
* To check config
* To check config
** EG <code> zmprov gcf zimbraMailPurgeSleepInterval </code>
** EG <code> zmprov gcf zimbraMailPurgeSleepInterval </code>
* To find/search for any config items that refer to a particular term (eg <code>Virus</code>)
** EG <code> zmprov gacf | grep Virus </code>
* To modify config
* To modify config
** EG <code> zmprov mcf zimbraMailPurgeSleepInterval 1m </code>
** EG <code> zmprov mcf zimbraMailPurgeSleepInterval 1m </code>
Line 28: Line 30:
* To verify email account filters setup
* To verify email account filters setup
** EG <code> zmmailbox -z -m simon gfrl </code>
** EG <code> zmmailbox -z -m simon gfrl </code>
== Clam AV Out of Date ==
To manually update
* <code>  /opt/zimbra/clamav/bin/freshclam --config-file=/opt/zimbra/conf/clamd.conf </code>


[[Category:Zimbra]]
[[Category:Zimbra]]

Latest revision as of 09:19, 17 September 2012

Account Export Incomplete

When trying to export an entire (or partial) account's data (either via the web or Zimbra clients, or through a /zmmailbox -z -m "user@domain.com" getRestURL -o user.tgz "//?fmt=tgz"), the export can occasionally be incomplete, this can be due to two reasons (maybe more)...

  • Large account / export time-out
  • Invalid tags
    • This is essentially down to some database corruption.
    • To confirm that its the issue, tail your /opt/zimbra/log/mailbox.log file when creating an export and look out for the following errors (tag 68 is the problem tag ID in this example)
      • Code:mail.NO_SUCH_TAG Arg:(itemId, IID, "68")
      • java.io.IOException: data error: java.io.IOException: tag error: com.zimbra.cs.mailbox.MailServiceException$NoSuchItemException: no such tag: 68
    • To resolve...
      1. Confirm that the account doesn't have the tag
        • zmmailbox -z -m "user@domain.com" gat
      2. Get the user to create enough dummy tags to reach the problem ID number
      3. Reattempt the export - it may fail again, but on a higher tag ID (repeat the above until it succeeds)
      4. Delete the dummy tags, and retest

The above is based on info gleamed from http://www.zimbra.com/forums/administrators/48724-no_such_tag-while-exporting.html

LDAP Config Item Check/Modify

  • To check config
    • EG zmprov gcf zimbraMailPurgeSleepInterval
  • To find/search for any config items that refer to a particular term (eg Virus)
    • EG zmprov gacf | grep Virus
  • To modify config
    • EG zmprov mcf zimbraMailPurgeSleepInterval 1m

Message Filters

  • To verify email account filters setup
    • EG zmmailbox -z -m simon gfrl

Clam AV Out of Date

To manually update

  • /opt/zimbra/clamav/bin/freshclam --config-file=/opt/zimbra/conf/clamd.conf