Upgrade zimbra 5.x ke 7.1.2

September 17th, 2011 | Posted by cahpct in Computer - (0 Comments)

Server email saya  mengalami masalah pada saat user mengirimkan email terjadi louding yang lama dari hasil trace di log tidak bisa ditemukan masalah yang mengakibatkan hal tersebut. Saya mulai mencari informasi mengenai upgrade ke versi zimbra terbaru, dikarenakan server dari saat pertama install tidak pernah di upgrade.

Setelah baca petunjuk dari  zimbra akhirnya saya putusin untuk upgrade adapun langkah-langkahnya sebagai berikut:

  1. Download versi zimbra terbaru di http://www.zimbra.com/downloads/os-downloads.html sesuaikan dengan os yang anda gunakan.
  2. Simpan di folder yang anda tentukan misalkan = /tmp
  3. Extraxt dengan perintah #tar xzvf zcs.tgz
  4. #cd [zcsversionfullname],
  5. #./install.sh
  6. Ikuti petunjuk yang ada pada saat ada peringatan upgrade pilih Y
  7. Tunggu sampai selesai upgrade dan anda akan melihat tampilan baru zimbra versi 7.1.2.

Pada versi zimbra 7.1.2 ini tidak ada fasilitas import csv file jadi apabila create user yang jumlahnya banyak bisa menggunakan script.

Export all user zimbra into txt file

February 22nd, 2011 | Posted by cahpct in Zimbra - (0 Comments)

Untuk mengeksport user zimbra ke dalam txt file kita bisa mengunakan perintah sebagi berikut

#su zimbra

$ zmprov -l gaa > /home/zimbra/jumlah-user-zimbra.txt

Setelah menuliskan perintah di atas maka kita bisa melihat seluruh user email pada file daftar-account-zimbra.txt
 

Setting bounce queue zimbra

November 10th, 2010 | Posted by cahpct in Zimbra - (0 Comments)
su - zimbra
zmlocalconfig -e postfix_bounce_queue_lifetime=10s

Zimbra CLI Commands

October 21st, 2010 | Posted by cahpct in Zimbra - (0 Comments)
 
Check consistency of appointments and attendees in the Zimbra calendar
Start, stop, status of the Zimbra servers. Also can use to find the Zimbra version installed.
Start, stop, the conversion server or find the status of the converted attachments conversion/indexing
Start, stop, reload, or find the status of the mailbox components (mailboxd, MySQL, convert)
Performs all provisioning tasks in Zimbra LDAP, including creating accounts, domains, distribution lists and aliases
Ability to write Python scripts that access Zimbra Java libraries. It sets the ZCS class path and starts the Jython interpreter.
Outputs an XML configuration that describes the current state of the data gathered from zmstat-chart to generate charts on the administration console.
Start, stop, or find the status of the Swatch process, which is used in monitoring
Set the Web server mode to the communication protocol options: HTTP, HTTPS or mixed
Provides mechanism to process timezone changes from the command line
If you use non-ASCII characters in the CLI, in order for the characters to display correctly, you must change this setting to the desired UTF-8 before running the CLI command. To change this, type
Important: The default locale on the zimbra user system account is LANG=C. This setting is necessary for starting ZCS services. Changing the default LANG=C setting may cause performance issues with amavisd-new and the IM services may fail to start.
 

First login to your server  as root and than su zimbra ->  postfix check

Pada zimbra fasilitas ini di pergunakan untuk mengecek apakah email valid atau tidak dan pada saat verifikasi apabila lebih dari 6 detik maka akan muncul pesan seperti ini "Recipient address rejected: unverified address: Address verification in progress"  ini tidak berarti benar – benar di reject tetapi masih dalam progress dan untuk memastikanya mesti dlihat pada log  /var/log/mail.info atau sesuai settingan zimbra anda.

Untuk memastikan email address valid atau tidak bisa melalui web semisal = http://network-tools.com/

Cat + Grep file in linux

October 20th, 2010 | Posted by cahpct in Linux - (0 Comments)

cat /var/log/mail.info | grep prie@prigad.com |more

Add white list user in zimbra

October 18th, 2010 | Posted by cahpct in Zimbra - (0 Comments)

Today my user complain because he can'not send email fromnetwork in their  apartment, after check the log i found

Helo command rejected: need fully-qualified hostname

For easy way I just add to the white list in:

 /opt/zimbra/conf/salocal.cf.in

whitelist_from *@yahoo.net

And restart the services

zmmtactl restart && zmamavisdctl restart
 

Done

UnInstalling Zimbra on Linux

October 15th, 2010 | Posted by cahpct in Zimbra - (0 Comments)

Uninstall Directions for Linux/All Other Operating Systems

As root:
1) Run the commands:
su – zimbra
zmcontrol stop
exit
(you should be root after you run exit)

2a) Run the command: ps -ef | grep -i zimbra
If you see running processes
2b) Kill any lingering processes: kill -9 <pid>

3a) Run the command: df
If you see "amavisd"
3b) run command: umount /opt/zimbra/amavisd<-new-blah>/tmp

4) cd /<tmp_tar_install_dir>/zcs/

5) Run the command: ./install.sh -u

6) Run the following commands to complete the unistall:
rm -rf /opt/zimbra
rm -rf /var/log/*zimbra*
rm -rf /tmp/*zimbra*
rm -rf /tmp/hsperfdata*
rm -rf /tmp/install.*
rm -rf /tmp/*swatch*
rm -rf /tmp/log*

Ensure that you removed ALL the files owned by the user zimbra AND that contain the name "zimbra" in:
/var/log/
/tmp/

7) Run the following commands to delete the users and groups:
userdel zimbra
userdel postfix
groupdel zimbra
groupdel postfix

8) Remove the line "/dev/shm /opt/zimbra/amavisd-new-2.4.1/tmp tmpfs defaults,users,size=150m,mode=777 0 0" from /etc/fstab.

9) Remove the Zimbra logging lines below from /etc/syslog.conf:
local0.* -/var/log/zimbra.log
auth.* -/var/log/zimbra.log
mail.* -/var/log/zimbra.log

10) Remove logrotate config file for Zimbra (CentOS, RHEL)
rm -f /etc/logrotate.d/zimbra

11) Remove the Zimbra lines below from /etc/prelink.conf (CentOS, RHEL)
# added for Zimbra
-l /opt/zimbra/lib
-l /opt/zimbra/sleepycat/lib
-l /opt/zimbra/openldap/lib
-l /opt/zimbra/cyrus-sasl/lib
-l /opt/zimbra/mysql/lib

12) Remove Zimbra entries in /etc/rc* (CentOS, RHEL)
chkconfig –del zimbra
 


Other methods:(assuming you didn't already try the above)
(dijichi2) if you get stuck and really want to just purge it from the system, try:
rpm -e `rpm -qa |grep zimbra`
rm -rf /opt/zimbra
delete zimbra entries from /etc/sudoers
delete zimbra entries from root and zimbra crontabs


On Ubuntu servers dpkg may think that Zimbra is still installed. Check by running dpkg –list (-l) or dpkg -q zimbra* and see if zimbra items are still listed. You can remove them by running:
dpkg –remove zimbra-apache zimbra-ldap zimbra-mta zimbra-spell zimbra-core zimbra-logger zimbra-snmp zimbra-store or

sudo rm -r /opt/zimbra

sources