← 返回命令列表

Linux command

mairix 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Index mail folders

mairix

Search for subject

mairix s:[search term]

Search by sender

mairix f:[sender@example.com]

Search by date range

mairix d:[1w-]

Combined search

mairix s:[report] f:[boss] d:[1m-]

Search body content

mairix b:[keyword]

说明

mairix is a fast mail indexing and searching tool for Maildir and MH mailboxes. It creates an index database for rapid searching and links matching messages to a results folder. Search terms use prefixes: s: (subject), f: (from), t: (to), b: (body), d: (date).

参数

-f _config_
Config file path.
-p
Purge results folder.
-F
Force full re-index.
-v
Verbose output.
-Q
Quick (stop at 100 matches).
-t
Include threads.

FAQ

What is the mairix command used for?

mairix is a fast mail indexing and searching tool for Maildir and MH mailboxes. It creates an index database for rapid searching and links matching messages to a results folder. Search terms use prefixes: s: (subject), f: (from), t: (to), b: (body), d: (date).

How do I run a basic mairix example?

Run `mairix` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does -f _config_ do in mairix?

Config file path.