yes you can modify the zimbra source code and even redistribute it, so long as you meet the conditions of the license (you have to open source any changes to existing code, you can not remove Zimbra logo, etc - read the license for the full details - ZPL is based on MPL and they are very readable documents).