Monday, October 4, 2004

Change Trash IMAP folder in Mozilla

I was having problems using Mozilla on an Exchange IMAP server. The web interface to the IMAP server wants to use a folder called "Deleted Items" as the trash folder, while Mozilla, by default, wants to use a folder called "Trash". I got tired of having two different folders that deleted emails get moved to, so I found a page with some instructions to tell Mozilla to use a different IMAP folder for the trash folder.




Here are the steps:
  1. Quit Mozilla
  2. Add this line to your prefs.js in your profile
    user_pref("mail.server.server3.trash_folder_name", "Deleted Items");
  3. You've got to replace server3 with the real number in your prefs.js.
  4. Restart Mozilla
This will also work with Thunderbird

2 comments:

  1. For Thunderbird, after the first restart, you'll see both "Trash" and "Deleted Items" as the trash folders.
    Restart again and the original "Trash" folder is removed.

    ReplyDelete
  2. This guide is much more detailed:
    http://kb.mozillazine.org/IMAP_Trash_folder
    It includes what to do if the setting doesn't take.

    ReplyDelete