「Thunderbird」の版間の差分

提供: ArchWiki
ナビゲーションに移動 検索に移動
(→‎Tor: 翻訳)
175行目: 175行目:
 
=== Tor ===
 
=== Tor ===
   
  +
Tor ネットワーク経由でサーバーへの接続をルーティングするには、プロキシ設定をそれに応じて設定する必要があります。
To route the connection to the server through the Tor network the proxy settings must be set accordingly.
 
  +
# {{Pkg|tor}} がインストールされ、プロセスが実行されていることを確認 してください.
# Make sure you have {{Pkg|tor}} installed and that the process is running.
 
  +
# ''Thunderbird で ''メニュー > 環境設定 > 一般'' に移動します。ネットワークとディスク容量 > 接続 ''セクションで, ''設定...'' ボタンをクリックします.
# In Thunderbird go to ''Menu > Preferences > General''. In the ''Network & Disk Space > Connection'' section, click on the ''Settings...'' button.
 
  +
# ''手動プロキシ設定'' を選択し、SOCKS ホストとして ''localhost'' を、ポートとして 9050 を入力します (9050 はデフォルトです。/etc/tor/torrc では別の設定になっているかもしれません) SOCKS v5 使用時の ''プロキシ DNS''を選択します。
# Select ''Manual proxy configuration'', enter ''localhost'' as SOCKS Host and 9050 as Port (9050 is the default; it may be configured differently in /etc/tor/torrc). Select ''Proxy DNS when using SOCKS v5''.
 
   
 
== トラブルシューティング ==
 
== トラブルシューティング ==

2023年10月20日 (金) 15:39時点における版

関連記事

Mozilla Thunderbird は肥大化を避けつつ、多機能でシンプルなメール、ニュースグループとニュースフィードのクライアントです。POP, IMAP, SMTP, S/MIME と (Enigmail 拡張による) OpenPGP による暗号化をサポートしています。Firefox と同じく、機能を追加するための様々な拡張とアドオンが揃っています。

インストール

thunderbird パッケージをインストールしてください。必要であれば 言語パック もインストールしてください。

他のバージョン:

  • Thunderbird Beta — 比較的安定していながら最新の機能を搭載。
https://www.mozilla.org/thunderbird/channel/ || thunderbird-beta-binAUR
  • Thunderbird Nightly — ナイトリーリリースの最新版 (破壊を求める人向け)。
https://ftp.mozilla.org/pub/mozilla.org/thunderbird/nightly/latest-comm-central/ || thunderbird-nightly-binAUR

バージョンに関する詳細は Mozilla wiki で確認できます。

Securing

  • Thunderbird sends your system's internal IP address to the configured SMTP server as an argument to the HELO/ELHO SMTP command. This value can be overridden by setting mail.smtpserver.default.hello_argument to, for example, localhost. Setting this value may increase the spam score of messages you send. See [1] and [2].
  • Thunderbird disables email images by default but enables HTML rendering which may expose IP address and location. To disable this click View > Message Body As > Plain Text.
  • JavaScript はメッセージコンテンツでは無効になっていますが、RSS ニュースでは無効になっていません。無効にするには #Config editorjavascript.enabledfalse に設定します。

拡張機能

  • Birdtray — System tray new mail notification which does not require extensions. Run Thunderbird with a system tray icon.
https://github.com/gyunaev/birdtray || birdtrayAUR
  • SysTray-X — system tray extension. Similar to FireTray but works with Thunderbird 68+.
https://github.com/Ximi1970/systray-x || systray-x-gitAUR
  • SOGo Connector — CardDAV で連絡先を同期。
https://sogo.nu/download.html#/frontends || thunderbird-sogo-connector-binAUR
  • Cardbook — CARDDav と VCARD 標準に基づく Thunderbird の新しいアドレス帳。
Cardbook AMO ||

OpenPGP: signing and encryption

From Thunderbird 78.2.1 onwards, this functionality is integrated into Thunderbird. This was previously provided by the Enigmail add-on, which is not compatible with Thunderbird 78+. To migrate keys from Enigmail to Thunderbird, as well as learn what is currently supported, see Thunderbird OpenPGP FAQ. Before migration, make sure that a strong passphrase is used for the master password. Otherwise the private key will not be properly protected.

ヒントとテクニック

設定エディタ

Thunderbird の細かい設定は Thunderbird メニュー > 設定 > 一般 > 設定エディター から行うことができます。

デフォルトブラウザの設定

最近のバージョンの Thunderbird はシステムの MIME 設定によって定義されたデフォルトブラウザを使用します。デフォルトブラウザは Gnome Control Center (Gnome Control Center > Details > Default Applications > Web) (gnome-control-center パッケージに入っています) から修正することができます。

Thunderbird の Edit > Preferences > Advanced > General > Config Editor から network.protocol-handler.warn-external を検索してデフォルトブラウザを上書きすることが可能です。

以下の設定が全て false (デフォルト) に設定されている場合、true に変更すると、Thunderbird はリンクをクリックしたときに使用するアプリケーションを尋ねるようになります ("Remember my choice for .. links" にチェックを入れて下さい)。

network.protocol-handler.warn-external.http
network.protocol-handler.warn-external.https

プレーンテキストモードとフォントの統一

プレーンテキストモードは全てのメールを HTML レンダリングせずに表示します。View > Message Body As から変更することができます。デフォルトフォントは Monospace ですがフォントサイズはシステムの fontconfig 設定が継承されます。次の例では10ピクセルの Ubuntu Mono (ttf-ubuntu-font-family) で上書きします。

システムのフォントキャッシュを更新するために fc-cache -fv の実行を忘れないでください。詳しくはフォント設定を見てください。

~/.config/fontconfig/fonts.conf
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
  <match target="pattern">
    <test qual="any" name="family"><string>monospace</string></test>
    <edit name="family" mode="assign" binding="same"><string>Ubuntu Mono</string></edit>
    <!-- For Thunderbird, lowering default font size to 10 for uniformity -->
    <edit name="pixelsize" mode="assign"><int>10</int></edit>
  </match>
</fontconfig>

他の環境にプロファイルを移行

ヒント: ImportExportTools アドオンを使ってプロファイルフォルダをエクスポート・インポートすることもできます。

インポート・エクスポートを行う前に ~/.thunderbird プロファイルのバックアップを作成してください:

$ cp -R ~/.thunderbird /to/backup/folder/

現在の Thunderbird プロファイルを他の PC にコピーすることで移行することができます:

1. 移行先の PC に Thunderbird をインストール。

2. Thunderbird を起動して何もせずに終了。

3. バックアップを移行先のプロファイルフォルダ ~/.thunderbird/<newrandomnumber>.default/ にコピー:

$ cp -R /to/backup/folder/.thunderbird/<oldrandomnumber>.default/* ~/.thunderbird/<newrandomnumber>.default/

エクスポート + インポート

インポートやエクスポートを始める前に、~/.thunderbird プロファイルをバックアップしてください:

$ cp -R ~/.thunderbird /to/backup/folder/

アカウントが壊れてしまっている場合や別の環境に Thunderbird をインストールしたい場合、Import and Export アドオン (例: ImportExportTools AddOn) をインストールして全てのデータをエクスポートして新しい環境にデータをインポートするのが良いでしょう。

デフォルトのソート順を変更

デフォルトで Thunderbird は日付の古い順でメールをソートし、スレッドにまとめません。フォルダごとにソート方法を変えることはできますが、Superuser.com の投稿 で説明されているようにデフォルト設定を変えるほうが楽です。

設定エディタで以下を設定してください:

mailnews.default_sort_order = 2 (降順)
mailnews.default_view_flags = 1 (スレッドビュー)

Maildir のサポート

デフォルトではメッセージの保存形式として mbox が使われます。Maildir を使用する方法は Mozilla wiki: Thunderbird/Maildir を見てください。基本的には設定エディタで以下の設定が必要です:

mail.serverDefaultStoreContractID = @mozilla.org/msgstore/maildirstore;1

ただしサポートされているのは "tmp" と "cur" ディレクトリだけです。"new" ディレクトリは完全に無視されます。メールの既読状態は別の ".msf" ファイルに保存されるため、Maildir を使用した場合、たとえ "cur" ディレクトリにメールがあったとしてもローカルメールは最初未読状態になります。

スペルチェック

hunspellhunspell の辞書インストールして Thunderbird を再起動してください。

Firefox#Firefox がデフォルトのスペルチェック辞書を記憶しないも参照。

ネイティブの通知

設定エディタmail.biff.use_system_alert を有効にしてください。新しいバージョンの Thunderbird では (Gnome Integration などの) 拡張は不要です。

通知音

Thunderbird は、新しいメールを受信したときやカレンダーのリマインダーが送信されたときにサウンドを再生するように設定できます。これには libcanberra が必要です。

テーマの設定

Thunderbird はシステムで定義されている GTK#テーマ に準拠します。ただし、完全にテーマを適用するには設定が必要です。ダークテーマで特に有効です。

  1. メールの内容をテーマに沿った色で表示するには:
    1. Menu > Preferences > Preferences を開く
    2. Display タブを選択
    3. Colors ボタンをクリック
    4. Use system colors にチェックを入れる
    5. Override the colors specified by the content with my selection above のオプションを Always または Only with High Contrast themes に設定
  2. Lightning カレンダーをテーマに沿った色で表示するには:
    1. Menu > Preferences > Preferences を開く
    2. Calendar タブを選択
    3. Optimize colors for accessibility にチェックを入れる

userchrome.css を作成・編集することでさらに細かいカスタマイズが可能です。Firefox 設定#一般的なユーザーインターフェイスの CSS 設定Mozillazine の userchrome ページ を見てください。

キーボードバインディング

残念ながら、Thunderbird には、キーボードの「a」キーを押してもメッセージがアーカイブされないようなシングルキーバインドを簡単に無効化する方法がありません。tbkeys-lite 拡張はこのようなバインディングを編集、削除する手段を提供し、Thunderbird 68.0 以降で利用可能です。

外部 GnuPG で OpenPGP を使用する

v78.1 以降、Thunderbird には、以前は Enigmail などのアドオンによって提供されていた統合 OpenPGP サポートが同梱されるようになりました。アップデート後の最初の起動時に、既存の Enigmail キーを Thunderbird に移行するよう提案されます。秘密鍵を Thunderbird 内に保存したくない場合は、外部の GnuPG インストールで Thunderbird を使用して、鍵を安全に保管したり、スマートカードを使用したりすることができます。

  1. Thunderbird に保存されている OpenPGP 鍵を表示するには:
    1. メニュー > ツール > OpenPGP キーマネージャ にアクセスする。
    2. 自分の鍵を見やすくするために, View > Display Keys from other people を無効にします。プライベート鍵は太字で表示されます。
    3. 現在の鍵を確認し、場合によっては削除する。
    4. File > Import public key を使用して、使用したい外部秘密鍵の 公開鍵を読み込む。GnuPG#公開鍵のエクスポート を参照。
  2. Thunderbird で外部 GnuPG サポートを有効にするには:
    1. gnupggpgme がインストールされていることを確認してください。C ライブラリがインストールされていて、関連するキーが利用可能 もしくは キーペアを作成する ができていることを確認してください。
    2. 設定エディタ を開く。
    3. mail.openpgp.allow_external_gnupg を検索し、その値を true に設定する。
    4. メニュー > アカウント設定 に移動し、使用するアカウントを選択します。次に Manage Identities をクリックし、編集したい Identity を選択します。Edit > End-To-End Encryption > Add Key をクリックします。Use your external key through GnuPG を選択し、GnuPG の鍵 ID を貼り付ける。鍵 ID は主鍵指紋の最後の16文字であることに注意してください。

さらに詳しい説明や特殊な設定については、MozillaWiki:Thunderbird:OpenPGP:Smartcards を参照してください。

Wayland

次の方法を使用して、wayland で Thunderbird をネイティブに起動できます。

$ MOZ_ENABLE_WAYLAND=1 thunderbird

Tor

Tor ネットワーク経由でサーバーへの接続をルーティングするには、プロキシ設定をそれに応じて設定する必要があります。

  1. tor がインストールされ、プロセスが実行されていることを確認 してください.
  2. Thunderbird で メニュー > 環境設定 > 一般 に移動します。ネットワークとディスク容量 > 接続 セクションで, 設定... ボタンをクリックします.
  3. 手動プロキシ設定 を選択し、SOCKS ホストとして localhost を、ポートとして 9050 を入力します (9050 はデフォルトです。/etc/tor/torrc では別の設定になっているかもしれません) SOCKS v5 使用時の プロキシ DNSを選択します。

トラブルシューティング

LDAP Segfault

LDAP を使ってユーザー設定を取得するように設定したシステムで LDAP がクラッシュ (Bugzilla#292127) することがあります。衝突する LDAP ライブラリの名前を変更することで 解決 できます。

Error: Incoming server already exists

Thunderbird (v24) には削除したアカウントを同じアカウントデータで再インストールしようとすると "Incoming server already exists" と表示するバグが存在します。残念ながら、このエラーが表示される場合は Thunerbird を再インストールするしかありません:

1. プロファイルのバックアップを作成:

$ cp -R ~/.thunderbird /to/backup/folder/

2. 全てのアカウントとカレンダー、フィードをアドオンでエクスポート。

3. Thunderbird をアンインストール:

# pacman -R thunderbird

4. Thunderbird フォルダ rm -R ~/.thunderbird/ を削除して全てのデータを消去。

5. Thunderbird を再度インストール:

# pacman -S thunderbird

6. メールアカウント、フィード、カレンダーを作成。

7. ImportExportTools アドオンをインストール。

8. 全てのデータをインポート。

新しいメッセージの受信時に Thunderbird の UI がフリーズする

新しいメッセージが到着したときや起動時にアラートを表示するように Thunderbird を設定している場合、通知デーモンが存在しないためにインターフェイスがしばらくフリーズすることがあります (白画面)。アラートを無効にするか通知サーバーをインストールすることで問題は解決します。

LC_TIME environment variable not respected

Thunderbird should use the LC_TIME environment variable for localization, but it might not do so in all contexts. Some problems can be mitigated by setting Menu > Preferences > Preferences > Advanced > Date and Time Formatting to Regional settings locale, a setting which was introduced in Thunderbird 56.

With version 60, Gecko started using the CLDR project for localization, including datetime formatting, which uses different settings than most other software based purely on LC_TIME. There is a bug report for this issue that includes workarounds with varying effects. To achieve ISO-8601-formatted dates in Thunderbird and a week beginning on Monday, use LC_TIME=lt_LT thunderbird.

Starting in Thunderbird version 91, one can set a number of preferences to make Thunderbird compliant with ISO-8601. Most programs can be set to ISO-8601 by setting your region locale to en_DK, but by default Thunderbird ignores regional locale preferences. See [3] for details.

Authentication failure while connecting to server imap.gmail.com error when using OAuth2 with G Suite account

Sometimes Thunderbird fails to log in to G Suite with Authentication failure while connecting to server imap.gmail.com error. It can be fixed with setting general.useragent.compatMode.firefox setting to true in #Config editor and then passing authentication stage again.

Outlook 365 SMTP fails to authenticate with OAuth2 authentication

Apparently by default, SMTP authentication is disabled for Outlook 365 accounts. Use the Microsoft 365 admin center to enable it. Refer to: Enable SMTP AUTH for specific mailboxes.