msgbartop
A cronological documentation test project, nothing serious, really!
msgbarbottom

17 Nov 2009 Zimbra distribution list commands

This is just a short post describing Zimbra distribution list (mailinglist) commands.

These commands should be run as the zimbra user

# su - zimbra

List all distribution lists

# zmprov gadl

Print only members addresses of a distribution list

# zmprov gdl mailinglist@example.com | grep zimbraMailForwardingAddress: | awk {'print $2'}

Show if a list is member of another distribution list(s)

# zmprov gdlm mailinglist@example.com

Tags: ,

Posted by Hans-Henry Jakobsen

24 May 2009 Configure mutt for Zimbra and IMAP

This post describes how to configure the command line e-mail client mutt to use your Zimbra IMAP mailbox.

Open the text file .muttrc, located in your home directory. If it does not exist, create it. Add or replace the following lines with your own user ID:

set spoolfile=imaps://mail.example.com/Inbox
set folder=imaps://mail.example.com/
set imap_user=username@example.com

If you would like to use your Zimbra Sent and Drafts folders for sent and postponed messages in Mutt, also add the following lines, as above:

set record=imaps://mail.example.com/Sent
set postponed=imaps://mail.example.com/Drafts

Mutt can now be used as a e-mail Zimbra client with access to all your mail. You can change folder in mutt by pressing the etter c. If you do not know the name of the folder, just press ?.

Tags: , , ,

Posted by Hans-Henry Jakobsen

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 *Msg_no.properties /opt/zimbra/jetty/webapps/zimbra/WEB-INF/classes/messages/
    # cp *Msg_no.properties /opt/zimbra/jetty/webapps/zimbraAdmin/WEB-INF/classes/messages/
    # cp *Keys_no.properties /opt/zimbra/jetty/webapps/zimbra/WEB-INF/classes/keys/
    # cp *Keys_no.properties /opt/zimbra/jetty/webapps/zimbraAdmin/WEB-INF/classes/keys/
    # cp ZsMsg_no.properties /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.

Source: http://wiki.zimbra.com/index.php?title=Translations#Installing_Translations_in_ZCS_Server

Tags: , ,

Posted by Hans-Henry Jakobsen

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

Output

cn: Ola Normann
displayName: Ola Normann
givenName: Ola
sn: Normann
zimbraAccountStatus: active
zimbraMailDeliveryAddress: ola@example.com
zimbraMailForwardingAddress: ola.normann@example.com
...

Tags: ,

Posted by Hans-Henry Jakobsen

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-2.4.3.4z/libexec/master

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

Tags: , , , ,

Posted by Hans-Henry Jakobsen