How to Uninstall Mail Server Zimbra
Here are tips on how to uninstall Zimbra mail server in Ubuntu 8.04 server. To uninstall zimbra mail server we have to enter as a root mode, steps :
udiniq@mail:~$ sudo -s
root@mail:~# su – zimbra
zimbra@mail:~$ zmcontrol stop
zimbra@mail:~$ exit
root@mail:~#
Then we must go into the folder where zcs zimbra when we do extract the files zcs, as an example here I used to put zcs files in the folder /opt, as an illustration only, that here I use zimbra-6.0.6_GA zcs, steps :
root@mail:~# cd /opt/
root@mail:/opt# cd zcs-6.0.6_GA_2324.UBUNTU8.20100406144520/
root@mail:/opt/zcs-6.0.6_GA_2324.UBUNTU8.20100406144520#
Next we run the uninstall command zimbra :
root@mail:/opt/zcs-6.0.6_GA_2324.UBUNTU8.20100406144520# ./install.sh -u
But the above command still leaving some zimbra folders in ubuntu, so to complete the uninstall zimbra in ubuntu 8:04, please run the following command :
root@mail:/opt/zcs-6.0.6_GA_2324.UBUNTU8.20100406144520# rm -rf /opt/zimbra
root@mail:/opt/zcs-6.0.6_GA_2324.UBUNTU8.20100406144520# rm -rf /var/log/*zimbra*
root@mail:/opt/zcs-6.0.6_GA_2324.UBUNTU8.20100406144520# rm -rf /tmp/*zimbra*
root@mail:/opt/zcs-6.0.6_GA_2324.UBUNTU8.20100406144520# rm -rf /tmp/hsperfdata*
root@mail:/opt/zcs-6.0.6_GA_2324.UBUNTU8.20100406144520# rm -rf /tmp/install.*
root@mail:/opt/zcs-6.0.6_GA_2324.UBUNTU8.20100406144520# rm -rf /tmp/*swatch*
root@mail:/opt/zcs-6.0.6_GA_2324.UBUNTU8.20100406144520# rm -rf /tmp/log*
root@mail:/opt/zcs-6.0.6_GA_2324.UBUNTU8.20100406144520#
The next step is to delete the user and group zimbra mail server on Ubuntu 8.04 server, ordered as follows :
root@mail:/opt/zcs-6.0.6_GA_2324.UBUNTU8.20100406144520# userdel zimbra
root@mail:/opt/zcs-6.0.6_GA_2324.UBUNTU8.20100406144520# userdel postfix
root@mail:/opt/zcs-6.0.6_GA_2324.UBUNTU8.20100406144520# groupdel zimbra
root@mail:/opt/zcs-6.0.6_GA_2324.UBUNTU8.20100406144520# groupdel postfix
root@mail:/opt/zcs-6.0.6_GA_2324.UBUNTU8.20100406144520#
As for the log uninstall zimbra mail server at ubuntu 8.04 server can be viewed here.