Windows 10 will reach EOS (end of support) on October 14, 2025. For more information, see this article.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

How to change the tag ID ?

  • No replies
  • 0 have this problem
  • 4 views
more options

Tag names can be changed via message > tag > manage tags. But how can I change the tag ID ?

Let's say for example, I want to change the tag ID "unreplied" to "needsreply".

steps:

  1. in user.js: change user_pref("mailnews.tags.unreplied.tag", "unreplied"); to user_pref("mailnews.tags.needsreply.tag", "needsreply");

  2. search&replace all instances of regexp ^X-Mozilla-Keys:[^\r\n]+unreplied in all .eml files

  3. Some tags are not stored as "X-Mozilla-Keys" inside the .eml file but elsewhere ( https://forums.mozillazine.org/viewtopic.php?t=3123346 ) – I suppose in the .msf files. They are in Mork format. Can I run a search&replace on them or will that break them?

Are these 3 steps enough or is more needed ?

Tag <b>names</b> can be changed via <code>message > tag > manage tags</code>. But how can I change the tag <b>ID</b> ? Let's say for example, I want to change the tag ID "unreplied" to "needsreply". steps: <ol> <li>in user.js: change <code>user_pref("mailnews.tags.unreplied.tag", "unreplied");</code> to <code>user_pref("mailnews.tags.needsreply.tag", "needsreply");</code></li><br> <li>search&replace all instances of regexp <code>^X-Mozilla-Keys:[^\r\n]+unreplied</code> in all .eml files</li><br> <li>Some tags are not stored as "X-Mozilla-Keys" inside the .eml file but elsewhere ( https://forums.mozillazine.org/viewtopic.php?t=3123346 ) – I suppose in the .msf files. They are in Mork format. Can I run a search&replace on them or will that break them?</li></ol> Are these 3 steps enough or is more needed ?

Modified by welcome

You must log in to your account to reply to posts. Please start a new question, if you do not have an account yet.