You can give this link a go
Migration/5 - CentOS Wiki
As always before starting any sort of upgrade ensure you have good
BACKUPS!
Once the upgrade of CentOS has been completed ensure that Zimbra is still working okay and then proceed with the upgrade to 5.0.4.