You are here

Duplicated accounts

4 posts / 0 new
Last post
ratcatcher
Offline
Last seen: 7 years 5 months ago
Joined: 2009-06-06 05:49
Duplicated accounts

I am running TB portable 3.0.1 and have been for some time without problem.

Yesterday I wanted to make changes to an account so I went to Tools -> Accounts and noticed that some of my accounts are duplicated in the list. I have 7 mail accounts configured within TB, of which 3 appear twice.

If I go to the "Get Mail" icon on my toolbar and click on the down-arrow at the right, I see the list of accounts/servers to get mail from and, again, the same 3 are duplicated.

If under Tools -> Accounts I rename one of the duplicated accounts, both are renamed so it appears that the same account configuration is being displayed twice, rather than there being actual duplicate entries.

I don't know exactly when this problem started as I haven't made any changes to my account configuration since mid-December (and that was to remove one account).

Anyone else experienced this? It looks as though https://portableapps.com/node/22254 is the same issue.

Regards

Nick

ratcatcher
Offline
Last seen: 7 years 5 months ago
Joined: 2009-06-06 05:49
Addons

I disabled all addons and restarted TB to eliminate those as a possible cause of the problem.

Still the same with no addons running.

Regards

Nick

Jimbo
Offline
Last seen: 4 years 10 months ago
Joined: 2007-12-17 05:43
this is a Thunderbird issue

not a portable one.

There was a change in how accounts were managed between 2.x and 3.x that causes, in some instances, the duplication that you're seeing.

Usually, it is caused by a line in the prefs.js file in your profile directory.

Edit that file (with TB closed) and find the line that sets the property mail.accountmanager.accounts. The line will look something like
user_pref("mail.accountmanager.accounts","account2,account1,account3");
You need to check the value for duplicated accountN entries, and remove them. Then when you restart TBP it should be sorted.

ratcatcher
Offline
Last seen: 7 years 5 months ago
Joined: 2009-06-06 05:49
Thanks Jimbo

The solution turned out to be a little more complicated so I'll document it here in case it helps anyone else:

Tools -> Options -> Advanced -> General (tab) -> Config Editor

Search for "mail.server.server" and you'll see quite a few entries
relating to server1, server2 and so on.

At this point the terminology gets a bit confusing because there are
"Servers" and "Accounts" which should be the same thing but aren't quite
(and this leads to the problem). Basically the server represents either
your Local Folders or a mailbox (POP3 or IMAP) that you collect mail from.

Using the entries you see (mainly "mail.server.server[number].hostname"
identify which server relates to which mail service (bearing in mind that
one of them will be Local Folders) and make a note of these.

Now search for "mail.account" and you should see a number of entries of
the form "mail.account.account[number].server", each of which will have a
server as its string. There should be one entry referencing each server
but my problem was that in some cases there were two accounts referencing
the same server. If this is the case, go to the duplicate, right click on
it and choose Reset. I don't think it actually matters which accounts you
reset as long as you leave just one referencing each server. But NOTE
which account keys you reset.

Now go to "mail.accountmanager.accounts" and you'll see that it has a list
of accounts, separated by commas. Edit it to remove the accounts whose
keys you just reset. You can, if you wish, change the order in which the
accounts appear in the list and this will change the order in which they
appear under Tools -> Account Settings (also in the pull-down list you get
when you click on the down arrow to the right of the "Get Mail" toolbar
icon if you use it and in File -> Get New Messages for).

Close everything and restart TB.

Nick

Log in or register to post comments