Follow

How to Manually Sync Topics

Overview

Postbox does not yet contain an automatic way to sync topics across machines. However, if you find that your topics have fallen out of sync between two or more machines, you can:

  1. Do a one time manual sync (as described below), and then
  2. Make sure that when you create a topic on one machine, that you create a topic on the second machine with the exact same name

Manual Sync - On Machine A

(WARNING - THIS IS FOR POWER USERS ONLY. YOU MUST BE VERY CAREFUL ABOUT WHAT YOU DO TO PREVENT DATA LOSS!)

For machine A, apply topics to your messages in the way that you want them to get one machine correct.

Quit Postbox.

Next, we need to copy the topic data from machine A to machine B. The topic data is stored within a file called prefs.js, which is located here:

~[your home directory]/Library/Application Support/Postbox/Profiles/[your profile]/prefs.js

MAKE A BACK UP OF THIS FILE ON MACHINE A!

Next, open prefs.js using your favorite text editor. Look within the prefs.js file for entries that look like this:

user_pref("mailnews.tags.my_topic_1.active", false);
user_pref("mailnews.tags.my_topic_1.color", "#000000");
user_pref("mailnews.tags.my_topic_1.ordinal", "1");
user_pref("mailnews.tags.my_topic_1.tag", "My Topic 1");
user_pref("mailnews.tags.my_topic_2.active", false);
user_pref("mailnews.tags.my_topic_2.color", "#000000");
user_pref("mailnews.tags.my_topic_2.ordinal", "2");
user_pref("mailnews.tags.my_topic_2.tag", "My Topic 2");

Copy these settings and paste into a text document that you can send to machine B via email.

Close the prefs.js file on machine A without saving your changes.

On Machine B

Find the text file that you sent to yourself that contains the preferences from machine A and copy the preferences into the clipboard.

Next, find the prefs.js file on machine B. MAKE A BACK UP OF THIS FILE!

Open prefs.js on machine B and replace the topics/tags preference entries with the preferences from the text document you sent from Machine A.

Then save this file, then restart Postbox on machine B.

You're Done

Your Topics should now be synced!

From this point forward, be sure to use the same topic names across both machines.