Monthly Archive for June, 2011

Zimbra Desktop – Auto Close Download Window

Another tweak for Zimbra Desktop. If you are accustomed to the downloads window auto-closing in Firefox, this is for you. Every time you save an attachment out of ZD, the downloads window stays open by default, which can be annoying.

To change this (steps are for Mac – slight variation on file locations will be required for other platforms):

  1. Shutdown Zimbra Desktop
  2. Open up ~/Library/Zimbra Desktop/profile/user.js
  3. Find the line that says:
    user_pref("prism.shortcut.aboutConfig.enabled", false);

    and change it to:

    user_pref("prism.shortcut.aboutConfig.enabled", true);
  4. Save and close the file.
  5. Start Zimbra Desktop
  6. Press <Shift>-F7, which will bring up about:config.
  7. Filter on “download” to find the line that says:

    and double click it to change the false to true.

  8. Press <Shift-F7 to close about:config, and Zimbra Desktop will reload with the changes.



Spamfighting: Auto Add to Blacklist with Postini

I have for a long time been borderline-obsessive about fighting spam with my personal e-mail. Back in the days when I ran my own e-mail system based on Hula (R.I.P.), I had a fairly complex implementation of Spamassassin that worked quite well. When I switched to Google Apps for my home domain several years ago, I started using Postini for spam prevention. It does work pretty well once you tweak it to strike the right balance between too many false positives, and too much spam getting through.

The one thing I missed from my old homegrown setup was the ability to move a message into a “blacklist” folder and have it learned as spam and added to the blacklist by Spamassassin.

One Saturday morning, I decided to do a little research to figure out if Postini had the requisite facilities to allow for this. Lo and behold, I discovered postini-ezcommand-shell.

What follows is a tutorial on setting up a “blacklist” folder in your e-mail that will let you drag spam into the folder and have Postini blacklist the sender automatically.


  • You will need some sort of shell account with the ability to run bash and perl scripts, and schedule cron jobs.  I use DreamHost.
  • fetchmail must be available, or you will have to download and compile it with SSL support.
  • Create a folder in your e-mail hierarchy called “Blacklist”.  This should work with any e-mail provider/client, but I am using Gmail along with on the Mac.  You simply need the ability to drag and drop e-mails from your inbox or other folder, to the Blacklist folder.
  • All of the scripts and commands below use conventions like “/homedir”.  Be sure to adjust all paths for your environment.

Continue reading ‘Spamfighting: Auto Add to Blacklist with Postini’


Fixing the Home & End Keys in Zimbra Desktop for Mac

When I first switched from Windows to Mac several years ago, there was one huge annoyance I had to overcome.  By default, the Home and End keys behave very differently than they do in Windows.  In Windows, they move the cursor to the beginning and end of a line, respectively.  On the Mac, they move you to the top or bottom of a screen/document.

There are a couple of fixes out there that work great for OS X in general, and Firefox specifically.  I’ve been using both of these for several years with great success.

Well, over the weekend my work e-mail was migrated from Exchange to Zimbra, and this issue resurfaced when I started using Zimbra Desktop 7.  After a bit of digging, I figured out that ZD is based on Mozilla Prism, which is a bundled version of Firefox for offline-capable applications like Zimbra Desktop. Unfortunately, ZD does not really support the use of Extensions, even though there is one included and enabled by default.

To make a long story short, I was able to take the Keyfixer Firefox extension mentioned above and customize it to work with Zimbra Desktop.  Thanks to Matt Ball for the original extension.  I’ve renamed it to avoid confusion, but his name remains in the files.

The extension is available here (updated 8/11/2011 for Zimbra Desktop 7.1.1).

This has been tested with Zimbra Desktop 7.0.1 and 7.1.1 on Mac OS 10.6.7.

Installation instructions

  1. Unzip the downloaded file, which will yield a folder called “”
  2. Exit Zimbra Desktop
  3. Copy the folder above to ~/Library/Zimbra Desktop/profile/extensions
  4. Start Zimbra Desktop and test the keys by composing a new e-mail
  5. If needed, you can verify the extension is loaded by pressing Shift-F6, clicking the gear in the lower right of the screen, followed by Tools, Add-ons.

I hope this helps others.  Let me know if you encounter any issues!