I hope this is the right place to post this question.
We are trying to integrate the zimbra client with our own Mail Server. I have seen what Postpath has done - they have modified the zimbra server code so that where the zimbra server would be looked up for login/creating an appointment, they go to the postpath server for the same.
First of all am I correct in understanding what has been done? I would like to do the same. What would be easier?
1. Write your own SoapServlet which intercepts all zimbra client SOAP calls and returns the required JSON to the client OR
2. Modify the ZimbraServer code (let the existing soapservlet handle and parse the soap calls. Simply modify files like Auth.java, CreateAppointment.java and make them go to my own server?)
I would really appreciate if someone can throw some light on this.