Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

Търсене в помощните статии

Избягвайте измамите при поддръжката. Никога няма да ви помолим да се обадите или изпратите SMS на телефонен номер или да споделите лична информация. Моля, докладвайте подозрителна активност на "Докладване за злоупотреба".

Научете повече

where does thunderbird store (file) the "local directory" path?

  • 4 отговора
  • 3 имат този проблем
  • 2 изгледи
  • Последен отговор от Veritas

more options

In which file does thunderbird store the "local directory" path? I have a client who want to change 10 email addresses on several machines.

It is most cumbersome to go one by one via account settings -> server settings ->Local Directory -> Browse.

Is there a file in Thunderbird where I can simply copy/paste the new path?

In which file does thunderbird store the "local directory" path? I have a client who want to change 10 email addresses on several machines. It is most cumbersome to go one by one via account settings -> server settings ->Local Directory -> Browse. Is there a file in Thunderbird where I can simply copy/paste the new path?

Избрано решение

I took your phrase "change 10 email addresses" literally, but it seems you didn't mean that you wnat to change any email addresses, just some account settings.

I'd ask why the user wants to change Local Directory. It's unusual to need to do this, and taking mail stores out of the profile always makes maintenance harder. As you are now finding. ;-)

But as I said, all the mail account settings can be found in prefs.js. You'll need a good search-and-replace tool and you'll be looking for entries that resemble this:

user_pref("mail.server.server5.directory", "/home/chris/.thunderbird/cjr_profile/ImapMail/imap.googlemail.com");
user_pref("mail.server.server5.directory-rel", "[ProfD]ImapMail/imap.googlemail.com");

(Ignore any apparent links there; that's this forum's software doing a simplistic identification of what could be an URL. :-( )

These are from a Linux installation, so the details of the path to your profile will be different in Windows and OSX. ".thunderbird" is Linux's implementation of the profile folder. And "server5" is specific to my installation; you'll almost certainly have a different numeric value. Your best bet is to copy an existing Local Directory entry and use it as the target for a search-and-replace on prefs.js.

I do not know the significance of [ProfD] but if you are relocating the mailstore, this may need to be updated too. But I haven't yet found where it is defined.

Please make sure Thunderbird is closed down before editing prefs.js, as it will overwrite your changes when it closes, if it is open while you edit.

Прочетете този отговор в контекста 👍 1

Всички отговори (4)

more options

What's the connection between changing email addresses and the local directory?

Local directory is the location of the mail store for an account. I don't understand why you've singled it out in relation to changing email addresses.

All the account settings are stored in prefs.js, but be very wary if you venture into it with an editor. Thunderbird fails silently if the syntax is broken.

more options

If you have e.g. ten accounts you need to ten times go one by one via account settings -> server settings ->Local Directory -> Browse to change the profile location (that has been moved) and restart TB.

more options

Избрано решение

I took your phrase "change 10 email addresses" literally, but it seems you didn't mean that you wnat to change any email addresses, just some account settings.

I'd ask why the user wants to change Local Directory. It's unusual to need to do this, and taking mail stores out of the profile always makes maintenance harder. As you are now finding. ;-)

But as I said, all the mail account settings can be found in prefs.js. You'll need a good search-and-replace tool and you'll be looking for entries that resemble this:

user_pref("mail.server.server5.directory", "/home/chris/.thunderbird/cjr_profile/ImapMail/imap.googlemail.com");
user_pref("mail.server.server5.directory-rel", "[ProfD]ImapMail/imap.googlemail.com");

(Ignore any apparent links there; that's this forum's software doing a simplistic identification of what could be an URL. :-( )

These are from a Linux installation, so the details of the path to your profile will be different in Windows and OSX. ".thunderbird" is Linux's implementation of the profile folder. And "server5" is specific to my installation; you'll almost certainly have a different numeric value. Your best bet is to copy an existing Local Directory entry and use it as the target for a search-and-replace on prefs.js.

I do not know the significance of [ProfD] but if you are relocating the mailstore, this may need to be updated too. But I haven't yet found where it is defined.

Please make sure Thunderbird is closed down before editing prefs.js, as it will overwrite your changes when it closes, if it is open while you edit.

Променено на от Zenos

more options

Zenos

Perfect! That was what I was looking for! Thank you! Your help is much appreciated! I will tackle this "re coding" prefs.js tonight. Happy New Year!

Rob