Friday, April 07, 2006

Better Thunderbird and Exchange co-existance

One of the servers that I access from Thunderbird is a Microsoft Exchange server. Until today, one the things that bothered me was the mis-matched 'trash' folders. Thunderbird calls the folder "Trash" and Exchange call the folder "Deleted Items". Today I did a bit of searching on Google and found this post: (http://tinyurl.com/n68lz).

Here is the relevant section:

Omran Quaiser wrote:
> Is it possible to rename the Trash folder, because the ISP of mine
> calls it a different way. So I have got two of them, if I write my
> mails with the web-frontend.

It takes a bit of prefs.js hacking - the preference is
pref("mail.server.server1.trash_folder_name", "Deleted Items");
(Change the 1 and Deleted Items as appropriate)

Here is what I did:
  1. Exited Thunderbird.
  2. Made a copy of the prefs.js file (for a backup).
  3. Located the section I was looking for by searching for the server's hostname.
  4. Added the following line: user_pref("mail.server.server5.trash_folder_name", "Deleted Items");
  5. Restarted Thunderbird and tested. Thunderbird now shows the Trash Can icon on the "Deleted Items" folder. Delete messages can now be found in the correct folder.
  6. Deleted the "Trash" folder that Thunderbird had created aut0matically.

These simple steps appear to greatly improve the integration between the two applications.

No comments: