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
Posted by Hans-Henry Jakobsen
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: howto, imap, mutt, Zimbra
Posted by Hans-Henry Jakobsen
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.
# 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/
# su - zimbra # zmcontrol stop # zmcontrol start
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: language, norwegian, Zimbra
Posted by Hans-Henry Jakobsen
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 ...
Posted by Hans-Henry Jakobsen
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: chkrootkit, fuser, Postfix, rootkit, Zimbra
Posted by Hans-Henry Jakobsen