Introduction –

We want to use Zimbra CS for email server management and Apache with PHP for Web hosting. But tomcat which is used by Zimbra CS for Admin panel by default on 7071 port and webmail on 80 port. In our case we want Zimbra CS admin panel on same 7071 port and mail.domain.com which on 80 port to some other random port say 8086 port.

* Please follow this step to customize the Zimbra CS

1] First you will have to edit server.xml and server.xml.in file which the configuration file for tomcat. You will have to define a port on which you want to listen a tomcat. So in my case the path for the file is….

[root@indiangnu.org# vi /opt/zimbra/tomcat/conf/server.xml

[root@indiangnu.org# vi /opt/zimbra/tomcat/conf/server.xml.in

………
<Service name=”Catalina”>
<!– user services connector, no SSL –>
<!– HTTPBEGIN –>
<Connector port=”8086
acceptCount=”1024″ URIEncoding=”UTF-8″
enableLookups=”false” redirectPort=”443″
compression=”on”
compressionMinSize=”1024″
compressableMimeType=”text/html,text/plain,text/css”
noCompressionUserAgents=”.*MSIE 6.*”
maxThreads=”100″ minSpareThreads=”100″ maxSpareThreads=”100″/>
<!– HTTPEND –>
<!– user services connector, SSL –>
<!– HTTPSBEGIN
<Connector port=”8086
acceptCount=”1024″ URIEncoding=”UTF-8″
enableLookups=”false”
compression=”on”
compressionMinSize=”1024″
clientAuth=”false” sslProtocol=”TLS”
keystoreFile=”/opt/zimbra/tomcat/conf/keystore” keystorePass=”zimbra”/>
HTTPSEND –>

………

[root@indiangnu.org#

2] After making changes to above mentioned two file you can now move to next step in that we will edit a service.web.xml.in file . In this file also you will have to define port number same as mentioned in above file.

[root@indiangnu.org# vi /opt/zimbra/tomcat/conf/service.web.xml.in

……………

<filter>
<filter-name>ZimletFilter</filter-name>
<filter-class>com.zimbra.cs.zimlet.ZimletFilter</filter-class>
<init-param>
<param-name>allowed.ports</param-name>
<param-value>%%zimbraMailPort%%, %%zimbraMailSSLPort%%, 7070, 7443, 7071, 8086</param-value>
</init-param>
</filter>
…………..

[root@indiangnu.org#

3] Now you can simply restrart your zimbra. and you will now be able to run zimbra on other port i.e 8086 in my case and Admin Panel on 7071.

Zimbra Webmail –

http://your-domain-name.com:8086/

** Note – use apache for redirecting http://mail.your-domain-name.com to

http://your-domain-name.com:8086/

http://mail.your-domain-name.com

Admin Panel –

https://your-domain-name.com:7071/zimbraAdmin/

4] If you get an below error screen after loading zimbra page you can resolved it by following NO.2 step.

Error after entering username and password –
==============================================
An unknown application error has occurred. Please correct any
errors and retry. If the problem persists, please contact your
System Aministrator. (service.FAILURE)
==============================================

Regards,

Arun

(2) Comments    Read More   

www.flickr.com
arunbagul's photos More of arunbagul's photos
Get Adobe Flash player
-->