「Notmuch」の版間の差分

提供: ArchWiki
ナビゲーションに移動 検索に移動
8行目: 8行目:
   
 
==概要==
 
==概要==
Notmuch は C で書かれており sup-mail より数倍高速に動作します。Notmuch はインデックスの作成中に終了することもでき、次の起動時に続きからインデックス作成を続行します。sup-mail と同じように、不要なメールメッセージを永久に削除する手段は用意していません。メールの取得や送信、メールアドレスの保存などは行わないため [[offlineimap]], [[msmtp]], ''abook'' などのプログラムを使う必要があります。
+
Notmuch は C で書かれており sup-mail より数倍高速に動作します。Notmuch はインデックスの作成中に終了することもでき、次の起動時に続きからインデックス作成を続行します。sup-mail と同じように、不要なメールメッセージを永久に削除する手段は用意していません。メールの取得や送信、メールアドレスの保存などは行わないため [[OfflineIMAP]], [[msmtp]], ''abook'' などのプログラムを使う必要があります。
   
 
Notmuch は[[公式リポジトリ]]からインストールできます: {{Pkg|notmuch}}。
 
Notmuch は[[公式リポジトリ]]からインストールできます: {{Pkg|notmuch}}。
15行目: 15行目:
   
 
==初期設定==
 
==初期設定==
  +
インストール後、以下を実行することでインタラクティブなセットアップを起動できます:
After installation, you enter an interactive setup by running:
 
 
$ notmuch setup
 
$ notmuch setup
  +
プログラムはメールディレクトリの場所、そしてプライマリメールアドレス・セカンダリメールアドレスを尋ねます。設定ファイルを直接編集することもできます。設定ファイルはデフォルトでは {{ic|$HOME/.notmuch-config}} に作成されます。
The program prompts you for the location of your maildir and your primary and secondary email addresses. You can also edit the config file directly which is created by default at {{ic|$HOME/.notmuch-config}}.
 
   
  +
設定後、以下のコマンドでメールディレクトリの再インデックスを行います:
Subsequent re-indexing of the mail directories is done with:
 
 
$ notmuch new
 
$ notmuch new
   
33行目: 33行目:
   
 
===alot===
 
===alot===
alot is a standalone CLI interface for notmuch, written in python. It is available from [[AUR]] as {{AUR|alot}} or {{AUR|alot-git}}.
+
alot notmuch のスタンドアロンな CLI インターフェイスで、python で書かれています。[[AUR]] {{AUR|alot}} {{AUR|alot-git}} でインストールできます。
   
 
Alot uses [https://en.wikipedia.org/wiki/Mailcap mailcap] for handling different kinds of files. This currently includes html mails, which means that you need to configure a {{Ic|~/.mailcap}} file in order to view html mails. As minimum, put this line into your {{Ic|~/.mailcap}}:
 
Alot uses [https://en.wikipedia.org/wiki/Mailcap mailcap] for handling different kinds of files. This currently includes html mails, which means that you need to configure a {{Ic|~/.mailcap}} file in order to view html mails. As minimum, put this line into your {{Ic|~/.mailcap}}:
47行目: 47行目:
 
[http://the-ner.org/ ner] - notmuch email reader - is yet another CLI interface, apparently written in C++.
 
[http://the-ner.org/ ner] - notmuch email reader - is yet another CLI interface, apparently written in C++.
   
{{AUR|ner-git}} is available from the [[AUR]].
+
{{AUR|ner-git}} [[AUR]] からインストールできます。
   
 
==mutt の統合==
 
==mutt の統合==

2015年12月18日 (金) 21:58時点における版

関連記事

Notmuch はメールインデックス作成プログラムです。原則、xapian 上で動作するフロントエンドであり、Sup と同じように、一つのことに焦点を置いています: メールメッセージのインデックスを作成すること。Notmuch はメールリーダーとして使うことも、mutt などの他の MUA のインデクサや検索ツールとして使うこともできます。

概要

Notmuch は C で書かれており sup-mail より数倍高速に動作します。Notmuch はインデックスの作成中に終了することもでき、次の起動時に続きからインデックス作成を続行します。sup-mail と同じように、不要なメールメッセージを永久に削除する手段は用意していません。メールの取得や送信、メールアドレスの保存などは行わないため OfflineIMAP, msmtp, abook などのプログラムを使う必要があります。

Notmuch は公式リポジトリからインストールできます: notmuch

公式パッケージでは python, vim, emacs バインディングを提供します。

初期設定

インストール後、以下を実行することでインタラクティブなセットアップを起動できます:

$ notmuch setup

プログラムはメールディレクトリの場所、そしてプライマリメールアドレス・セカンダリメールアドレスを尋ねます。設定ファイルを直接編集することもできます。設定ファイルはデフォルトでは $HOME/.notmuch-config に作成されます。

設定後、以下のコマンドでメールディレクトリの再インデックスを行います:

$ notmuch new

フロントエンド

There are a range of ways to use notmuch, including cli, or with one of the Unix $EDITORS:

Emacs

notmuch のデフォルトフロントエンドは Emacs です。notmuch を開発したのと同じ人によって開発されています。

Vim

There's a vim interface available and included in notmuch. To start it, type:

$ vim -c NotMuch

alot

alot は notmuch のスタンドアロンな CLI インターフェイスで、python で書かれています。AURalotAURalot-gitAUR でインストールできます。

Alot uses mailcap for handling different kinds of files. This currently includes html mails, which means that you need to configure a ~/.mailcap file in order to view html mails. As minimum, put this line into your ~/.mailcap:

text/html; w3m -dump %s; nametemplate=%s.html; copiousoutput

More file handlers can be configured of course.

bower

bower is another CLI interface, this one is written in Mercury.

ner

ner - notmuch email reader - is yet another CLI interface, apparently written in C++.

ner-gitAURAUR からインストールできます。

mutt の統合

If you use mutt as your MUA, then notmuch is an excellent complementary tool to index and search your mail. The notmuch-mutt package provides a script to integrate notmuch with mutt.

Refer to the notmuch-mutt man page for configuration information. This blogpost steps through how to setup notmuch with mutt, but the information is a little outdated.