A chronological documentation test project, nothing serious, really!

03 Oct 2008 Installing a new language in Zimbra 5.x

This is a short post describing how I’ve installed a new language pack to a Zimbra (ZCS) 5.0.10 installation to enable norsk/norwegian language.

  1. Download your desired language pack, in my case it was a Norwegian translation from the I18N/L10N – Translations Zimbra forum.
  2. Unpack the translation files
  3. Copy the translated files to your Zimbra server installation
    # cp * /opt/zimbra/jetty/webapps/zimbra/WEB-INF/classes/messages/ 
    # cp * /opt/zimbra/jetty/webapps/zimbraAdmin/WEB-INF/classes/messages/ 
    # cp * /opt/zimbra/jetty/webapps/zimbra/WEB-INF/classes/keys/ 
    # cp * /opt/zimbra/jetty/webapps/zimbraAdmin/WEB-INF/classes/keys/ 
    # cp /opt/zimbra/conf/msgs/ 
  4. Restart Zimbra
    # su - zimbra 
    # zmcontrol stop 
    # zmcontrol start 
  5. Set the language preference in your browser and reload

Please note that since this operation will most like have to be repeated the next time you upgrade Zimbra. Mainly because Jetty changes version and the file location changes making the translated files unavailable.


Tags: , ,

Posted by

02 Sep 2008 Export Zimbra account info

Export userinformation from Zimbra

# su - zimbra 
# zmprov gaa -v|egrep 'cn:|sn:|displayName|givenName|zimbraMailDeliveryAddress|zimbraMailForwardingAddress|zimbraAccountStatus'|grep -v zimbraAdminSavedSearches


cn: Ola Normann
displayName: Ola Normann
givenName: Ola
sn: Normann
zimbraAccountStatus: active

Tags: ,

Posted by

10 Feb 2008 chkrootkit: false positive on port 465

On my Debian Etch server I’ve got Zimbra Open Source Edition mail solution installed and when I use chkrootkit to scan for rootkits it reports the following

Checking `bindshell'... INFECTED (PORTS:  465)

After a quick research I realized that this port 465 is SMTP over SSL on a Zimbra installation.
Further investigation reveals that port 465 is run by

# fuser -vn tcp 465

                     USER        PID ACCESS COMMAND
465/tcp:             root      19053 F.... master

And then I checked pid 19053

# ps aux|grep 19053
root     19053  0.0  0.2   6628  1236 ?        Ss   Feb09   0:00 /opt/zimbra/postfix-

This tells me that the postfix daemon is running on port 465 and obviously chkrootkit is giving me a false positive.

Tags: , , , ,

Posted by

09 Feb 2008 Alias root mail to an Zimbra account

To receive root mail from the server I’ve had to make a change in the /opt/zimbra/postfix- file. Uncomment the following line


The postfix daemon have to reread it’s config files before this change is recognized.
Do the following as zimbra user

/opt/zimbra/bin/postfix reload

Tags: , ,

Posted by

03 Feb 2008 Problem sending e-mail from console

After installing Zimbra 5.0.x on my Debian Etch 4.0 server some of my shell scripts couldnæt send mail anymore. The reason to this behaviour was that I hadn’t removed the Exim mail server package, and I wouldnt do it either.

The solution to this problem was to remove exim or locate the sendmail binaries and remove the symlinks to exim as emailer client and create symlinks to Zimbra’s Postfix sendmail binary. I did the latter

# whereis sendmail
sendmail: /usr/sbin/sendmail /usr/lib/sendmail

# rm /usr/sbin/sendmail
# ln -s /opt/zimbra/postfix- sendmail
# rm /usr/lib/sendmail
# ln -s /opt/zimbra/postfix- sendmail

Now my scripts can send e-mails as expected.

Tags: , , ,

Posted by