Skip to Content

Blogs

Zimbra Collaboration Suite

Posted in

The Zimbra Collaboration Suite is a robust free open source software (FOSS) mail and messaging collaboration suite. ZCS is quickly gaining market presence as an alternative to Microsoft Exchange because of its lower cost, greater versatility and scalability. It is the only collaboration suite cheap enough to be installed in the smallest of small businesses while providing more functionality than Microsoft Exchange, but scalable enough to be the messaging platform among the largest ISPs in the world.

Hello

This is bitNixBlog, welcome! Home of all things about, running on or pertaining to nix systems. If there is something you are trying to do and can't remember, come here, you're likely to find the answer. If it's not here, then post when you find out.

Please register and comment!

SSH Through SSH SOCKS Proxy

Posted in

Your SSH client can be configured to connect to any host on an internal network through a SSH SOCKS proxy. This maybe necessary in a corporate environment when:

  • there is one SSH proxy server open to the world;
  • there are a number of hosts on the internal corporate network which only allow connections from trusted or "blessed" internal hosts;
  • you just want to have fun with SSH SOCKS proxy.

OS X WebDAV with Zimbra

Posted in

WebDAV is a great protocol for reading and writing files to and from the Zimbra Collaboration Suite and is a great tool for network file storage since it works inside and outside the home network. Mounting and using your ZCS mailbox WebDAV filesystem with Mac OS X is trivial.

1) Mount your mailbox.

    a. Open Finder
    b. In the Go menu, select "Connect to Server..."
    c. Enter your ZCS server address in the server connection dialog in this format:
      http://server.domain.com/dav/user%40domain.com

Substring Replace Strings In A Filename

This nested for loop substring replaces two parts of the filename GagHstqLEOlv5GU5kEDXmmpAoGQ=257-234.msg1. The script was used to restore missing blobs found in a mailbox backup to the live mailstore.


for d in $(find -type d)
do
  for f in $(ls $d)
  do
    f1=${f/*=}
    f2=${f1/msg*/msg}
    echo "mv -f $d/$f $d/$f2"
  done
done

This site was helpful for figuring this out:
http://tldp.org/LDP/abs/html/string-manipulation.html

Ubuntu Hardy: Install Desktop

I run all my Linux N 2 or N 3, but I needed to test some things with Evolution. Also thought I would have a look at the Ubuntu desktop while I was at it, since Ubuntu server does not install it be default.


$ sudo apt-get install ubuntu-desktop
...
Need to get 475MB of archives.
After this operation, 1903MB of additional disk space will be used.
Do you want to continue [Y/n]? y

Adding A Disk To Ubuntu 8 Hardy For Zimbra

These are the steps for creating a new file system under Ubuntu 8.04 Hardy.

Preserve Log File Descriptor

Have you ever tried to clear a log file by removing the file, then touching a new one only to find your daemon does not write to the new file? So you restart the daemon and it still doesn't work? If you do this, chances are you will have to restart syslogd so it can find the new file descriptor you created when you touched the log.

If you are debugging and want a clear log, a better solution is write empty space to the file like this:


# echo "" > /opt/zimbra/log/zmmailboxd.out

This will empty the file and preserve the file descriptor.

Display Contents of Zimbra memcache

The contents of Zimbra's memcached cache can be displayed on a per account basis. Use zmproxypurge.

zmproxypurge -i -a user@bitnixblog.com

As of Zimbra 5.0.9, memcache stores routing information for IMAP and POP, not HTTP. See zmproxypurge -help for more memcached information.

Replace Newline Characters With Commas Using tr, Not sed

I recently had a 5.0.9 Zimbra mailbox with inconsistencies between metadata (MySQL DB) and blob store (/opt/zimbra/store/...) in which the store was missing blob data referenced in the database.

Once I parsed the zmblobchk report data to retrieve information for the mailbox I wanted to fix, I wanted an efficient way to remove the blob item references from the database.

All commands run as zimbra user.

A snip from zmblobchk's mb8blobcheck.rpt file:

* MailboxGroup=8, mailbox=8, item=397: file not found: 397-2020.msg (delete associated metadata)

Syndicate content