These are steps for upgrade Zimbra 4.5.9 to 5.0.2.

1. Download new version from
[root@mail] # mkdir Program; cd Program
[root@mail] # wget -c
2. Unzip new software.
[root@mail] # tar xvfz zcs-5.0.2_GA_1975.RHEL5.20080130221917.tgz

3. Upgrade new libtool-ltdl package.
[root@mail] # yum install libtool-ltdl
4. Stop current Zimbra service.
[root@mail] # su - zimbra
[zimbra@mail] $ zmcontrol stop
[zimbra@mail] # exit
[root@mail] #
5. Install Zimbra version 5.0.2.
[root@mail] # cd zcs-5.0.2_GA_1975.RHEL5.20080130221917
[root@mail] # ./install
7. After you upgraded , you can not sent email and you found warning in file /var/log/zimbra.log
postfix/smtpd[8439]: warning: problem talking to service rewrite: Success
postfix/master[7626]: warning: process /opt/zimbra/postfix- pid 9809 exit status
8. Fix this problem by change start_tls option in file ldap-*.cf in path /opt/zimbra/config/ from Yes to No and this is script for change it in all files.
#!/bin/bashfor x in;
echo “File : ${x}”;
cp $x $x.bak;
sed -i s/”start_tls = yes”/”start_tls = no”/g $x;
9. Assume name of this script is Change mode of this script and run it.
[root@mail] # cd /opt/zimbra/conf/
[root@mail] # ls -l
-rwxr-x— 1 zimbra zimbra 196 Mar 6 09:45
[root@mail] # chmod +x
[root@mail] # ./
10. Restart new Zimbra service.
[root@mail] # su - zimbra
[zimbra@mail] $ zmcontrol stop
[zimbra@mail] $ zmcontrol start
[zimbra@mail] $ zmcontrol status