MDN wants to learn about developers like you: https://qsurvey.mozilla.com/s3/MDN-dev-survey

於企業內升級 Thunderbird

翻譯不完整。請協助 翻譯此英文文件

編撰中
本頁仍未完成

這是一篇關於幫助大型組織使用 Thunderbird 升級到 3 版的升級手冊 (也可稱之為 "企業")。 這份初步草稿是從草稿作者知識庫摘要 auto-sync / offline settings (bug 562589) 與 Thunderbird 3 與管理者相關的搬遷問題 (bug 562589#c7) (如同 2010/05/06).

背景

此份搬遷手冊針對典型的企業環境做出一些假設:

  • IMAP 帳戶與目錄。
  • 大型郵件檔。
  • "漫遊配置檔" 或某些接近於共用 (以支援備份/復原與行動用戶)。

(The above requirements may not be compatible with the fact that the new global search (Gloda) is enabled by default on upgrade and IMAP folder automatic synchronization is enabled by default on upgrade. This is discussed further below.)

企業環境通常需要執行大規模軟件升級,而不是為個人用戶升級軟件,此升級目標也許會是:

  • 解決早期版本已存在的錯誤。
  • 為了改善穩定性與可靠性。
  • 為了改善效能。
  • 為了改善可用性。
  • 盡可能減少或者使用戶用戶培訓簡易。
  • 盡可能減少對於新軟體與更新後的軟體,人員所需要的人力支援。

相關資訊:

遷移指南 (Thunderbird 2 升級到 Thunderbird 3.0)

The major changes in Thunderbird 3.0 that are relevant to enterprise administrators include:

  • Gloda (Global Search and Indexer). Enabled by default.
  • Auto-sync of IMAP folders. Enabled by default.
  • Per-folder "offline use" setting of all IMAP folders is changed to "offline use=On" by default upon migration.
  • "Smart Folders" is default folder pane view, even if "All Folders" is user's choice in Thunderbird 2.

For more detailed information about the changes between Thunderbird 2 and Thunderbird 3, see:

As a general rule, administrators should deal with the process of upgrading Thunderbird and enabling new features separately. That is, they should try to keep the user setup as similar as possible between Thunderbird 2 and 3 and wait until the Thunderbird 3 upgrade is complete and stable before enabling Thunderbird 3 features.

在遷移前,停用附加元件以進行安全升級

Problems due to add-on are known. For example;

  • Bug 562589 Kaspersky Anti-Spam Extension causes blank main window on 2.0.0.23 to 3.0 upgrade
  • Bug 543076 TB 3.0.1 does not handle IMAP Attachments correctly (bug of "Attachment size" add-on or some others)

To avoid such unwanted problems due to add-ons, next upgrade procedure is recommended for safe migration.

  1. Start Tb 2 with -safe-mode to make all add-ons disabled before upgrade.
  2. Keep backup of profile directory before upgrade.
  3. If possible, do uninstall of Thunderbird 2 and clean install of Thunderbird 3, instead of upgrade by software update by Thunderbird 2, for both safe migration and reducing of network traffic.

停用遷移幫手

Enterprise sites that perform mass upgrades generally want to prevent users from performing Thunderbird upgrades on their own. An upgrade dialogue in the Thunderbird Migration Assistant should be disabled.

lockPref("mail.ui.show.migration.on.upgrade",false);

停用全域 (全域搜索與索引) 以避免遷移後的索引

Initail purpose of Gloda was solution of of problem like Bug 383895 (slowness in body text search of local mail data). With enhancements and many improvements by Thuderbird 3 on auto-sync of IMAP folder, Gloda can be used also for IMAP folders very easily. So, gloda is very useful for everyday usage even for IMAP users: It can search messages very fast, much faster than an IMAP server can, and so notably increase productivity. Also, it will in the future have increased functionality in other areas.

However, the new Thunderbird 3 search and index functionality initially impacts performance. (The indexer runs when Thunderbird 3 is first started and will continue to work until all the user's email is indexed. The more messages a user has, the longer the indexer will run.) Also, it uses diskspace on the client (about 1/2 (?) of mailbox size), which is a problem for roaming profiles.

Gloda can be enabled by only single action after upgrade - check an option at Tools/Options/Advanced/General tab. So, to minimize user support workload after migration, we  recommend you to disable automatic enabling of Gloda durng migration by Thunderbird 3.

怎麼會? 可能嗎? 需要加強?

停用自動同步,保持每個資料夾 "離線使用" 設定,以避免遷移後每個巨大的 IMAP 資料夾下載所有郵件

Auto-sync of IMAP folders is enabled by default for all IMAP accounts. The per folder "offline use" setting of all IMAP folders is changed to "offline use=On" when Thunderbird 3 is launched the first time. To keep same settings as Thunderbird 2, disable the auto-sync and offline-use settings upon upgrade.

完全停用自動同步 (auto-sync):

lockPref("mail.server.default.autosync_offline_stores", false);
lockPref("mail.server." + serverFromAccount + ".autosync_offline_stores", false);

停用每個資料夾 "離線使用 (offline use)" 設定在遷移時設定變更 (Tb 3.0.5 到 Tb 3.1rc1):

lockPref("mail.server." + serverFromAccount + ".offline_download", false);

To disable per folder "offline use" setting change upon migration (Tb 3.1rc2 or later):

lockPref("mailnews.ui.show.migration.on.upgrade",false);

注意:

  • mail.server.serverX.offline_download (default=true) of Tb 3.
    • When an IMAP folder is created or subscribed, set offline use=off if false, set offline use=on if true.
      i.e. This setting is for default of offline use=on/off of an IMAP folder.
  • Enhancement of mail.server.serverX.offline_download=flase prior to upgrade to Tb 3(from Tb 3.0.5 to Tb 3.1rc1).
    • Upon first use of Tb 3, if mail.server.serverX.offline_download=false is set before upgrade, IMAP folder's "offline use" is not touched by Migration code of Tb 3 .
    • It's enhanced by bug 562589. This enhancement is already landed on Tb3.1pre and Tb3.2pre, and the enhancement has been landed on Tb 3.0.5pre(As of 2010/5/10).
  • Above enhancement of mail.server.serverX.offline_download=false prior to migration of bug 562589 has been removed by Bug 569161.
    • Code which changes offline-use=on/off of IMAP folders upon migration is moved to Migration Assistant by bug 569161. So, if Migration Assistant is disabled, offline-use setting of any IMAP folder is never touched upon migration to Tb 3.1 and Tb 3.2.
    • Patch of bug 569161 is landed on Tb3.1rc2 and Tb3.2a1(As of 2010/06/07).

在遷移後,如何啟用自動同步

Account Settings/Synchronization & Disk Space

  • [ ? ] Keep messages of this account on this computer

Current behavior of UI for auto-sync setting.

  • Unchecked->Checked
    1. Set mail.server.serverX.offline_download=true
    2. Set offline use=on of all folders of the IMAP account
    3. Enable "Advanced" button to change offline-use setting of IMAP folders
  • Checked->Unchecked
    1. Set mail.server.serverX.offline_download=false
    2. Set offline use=off of all folders of the IMAP account
    3. Disable "Advanced" button to change offline-use setting of IMAP folders

Note: There is a request for a design change in bug 537943.

Gloda and auto-sync/offline-use are possibly independent, although relevant.

  • "Download Now" button downloads mail to offline-use regardless of offline-use=On/Off.
  • "Download Now" button seems to be intercepted and discarded if auto-sync is enabled and offline-use=On. It looks due to already started schedule based automatic downloading.
  • Auto-sync automatically downloads mail data to offline-store if auto-sync is enabled and if offline-use=On is set in an IMAP folder.
  • "Work Offline" automatcally downloads mail data to offline-store automatically, if per folder offline-use=On is set in an IMAP folder.
  • Gloda indexes mail data in offline-store, if mail data is saved in offline-store, perhaps regardless of auto-sync is enabled/disabled and offline-use=On/Off and Working Online/Working Offline.

修改資料夾面板檢視從 "聰明資料夾 " 為 "所有資料夾"

By default, Thunderbird 3 displays "Smart Folders" in the folder pane. (Smart Folders combine the messages in similarly named folders in multiple accounts, for example grouping Inbox messages from all accounts into a single Inbox on the Smart Folder pane.) If you want to preserve the default Thunderbird 2 behavior of showing "All Folders", advice users to select View | Folders | All from the menu.

Can "forcing Smart Folders view" upon migration be stopped? How? Is it possible? Enhancement is needed?

Note: "Smart Folders" is renamed to "Unified Folders" by Tb 3.1, and Tb 3.1 won't force it upon migration from Tb2 any more.

注意事項

由自動配置 (autoconfig) 帳戶定義

When new accounts are created, the new "autoconfig" functionality is automatically invoked. Unless users have the correct account definition parameters, it may be confusing for them to configure their own accounts (if this is permitted).

IMAP 資料夾檔案的位置

By default, the IMAP folder file is located in each user's profile directory. If the user is storing a lot of messages for off-line access, this can result in too much data for a roaming profile. Regardless of whether or not there is a roaming profile, there may be if the profile is located on a network resource or if Microsoft Window's Offline File (CSC) is used for the offline storage file.

If that is the case, you have two options:

If the Gloda search and index is mandatory for IMAP mail data:

  1. Locate mail directory for IMAP account at location with which remote/network access won't happen(e.g. "Local Settings" of MS Win)
  2. Enable auto-sync, and set offline use=on of IMAP folders.
  3. Accept download of all mails to any PC which uses the IMAP account.
  4. Accept per PC thread pane column setting of the IMAP accout.
    •  
      As thread pane column setting is currently saved in .msf file, and as you selected folder location other than profile directory, data in .msf can not be shared among PCs, even when you use Roaming Profile.

When Gloda is not needed for IMAP mail data:

  1. Locate IMAP folder file at any place you want.
  2. Disable auto-sync, and/or set offline use=off of all IMAP folders.
    •  
      As new feature of "Disk Cache for mail in IMAP folder of offline-use=off" is added to Tb 3, mail data of viewed mail is held in far larger Disk Cache than very small memory cache of Thunderbird 2. So, frequency of problem like "repeatedly downloaded big attachment data" is reduced very much compared to Thunderbird 2.

As Gloda is first solution of problem of Bug 383895 (slowness in body text search of local mail data), and as many IMAP servers have excellent body text search functionality, consider utilizing of online search first for IMAP mail data. If online search is usable, enabling of auto-sync/offline-use merely for Gloda can be avoided.

線上搜尋 IMAP 資料夾

There is known with regards to online search (documented in Bug 546925 "Run search on server" of Edit/Find/Search Messages doesn't work). For now, users must use Quick Search or Virtual Folder (Saved Search folder) for online searches.

搜尋、自動同步、離線使用與 "聰明資料夾"

If IMAP folder of offline-use=off, full text search by Gloda won't work because of offline-use=off.

And, if not all mails of IMAP folder of offline-use=on is downloaded into local offline-store file because of your setting for offline-store file size limitation, Gloda can't find not-downloaded mails of the IMAP folder.

And, as "Smart Folder" is internally Virtual Folder(Saved Search Folder), a "Smart Folder" can be Virtual Folder with multiple search target folders in mixture of local mail folders, IMAP folders of offline-use=on(all mails are sync'ed), IMAP folders of offline-use=on(not all mails are sync'ed), and IMAP folders of offline-use=off.

Never open bug at bugzilla.mozilla.org for "Search can't find my mail!" without sufficient checking of "what mail at what kind of folder is not hit by what kind of search at where", please.

遷移手冊 (Thunderbird 2 到 Thunderbird 3.1)

(content needed)

遷移手冊 (Thunderbird 3.0 到 Thunderbird 3.1)

(content needed)

文件標籤與貢獻者

 此頁面的貢獻者: it4u
 最近更新: it4u,