Go to file
Dirk-Jan C. Binnema ee18c02762 maildir: improve unit tests
And get some more info from run_command.
2023-09-24 21:33:18 +03:00
.github github: update bug template 2023-04-02 09:24:10 +03:00
build-aux infodir: allow absolute path 2023-09-05 08:34:27 +03:00
contrib autotools: remove 2022-08-20 11:19:29 +03:00
guile unit tests: improve 2023-09-12 21:38:57 +03:00
lib maildir: improve unit tests 2023-09-24 21:33:18 +03:00
man mu-move: add new move sub command 2023-09-24 17:29:08 +03:00
mu improve unit tests 2023-09-24 20:21:57 +03:00
mu4e mu4e-mark: avoid byte-compiler warning 2023-09-21 23:58:55 +03:00
testdata unit tests: improve 2023-09-12 21:38:57 +03:00
thirdparty move lib/thirdparty to thirdparty/ 2023-09-05 08:34:27 +03:00
.dir-locals.el build: add -ts- support to dir-locals 2022-12-24 09:29:42 +02:00
.editorconfig tweak coding style / configuration 2022-02-13 14:33:12 +02:00
.gitignore mu4e: use mu4e-config instead of mu4e-meta 2022-05-29 11:10:58 +03:00
.mailmap Add .mailmap file 2020-02-17 14:28:00 +01:00
AUTHORS * initial import of mu - the next generation 2009-11-25 22:55:06 +02:00
COPYING * initial import of mu - the next generation 2009-11-25 22:55:06 +02:00
Makefile build: improve development build flags 2023-09-19 22:26:30 +03:00
NEWS.org build: bump version to 1.11.21, update NEWS.org 2023-09-24 17:32:50 +03:00
README.org docs: update README/NEWS. 2023-08-04 21:39:01 +03:00
autogen.sh autotools: remove 2022-08-20 11:19:29 +03:00
meson.build build: bump version to 1.11.21, update NEWS.org 2023-09-24 17:32:50 +03:00
meson_options.txt guile: make guile-extension-dir configurable 2023-08-09 22:02:09 +03:00


#+TITLE:mu <img src=" title="https://img.shields.io/github/license/djcb/mu?logo=gnu&.svg" /> <a href=https://img.shields.io/badge/Made%20with-C/CPP-1f425f?logo=c&.svg" title="https://img.shields.io/badge/Made%20with-C/CPP-1f425f?logo=c&.svg" /> <img src=" title="https://img.shields.io/github/v/release/djcb/mu.svg" /> <img src=" title="https://img.shields.io/github/contributors/djcb/mu.svg" /> <img src=" title="https://img.shields.io/github/issues/djcb/mu.svg" /> <img src=" title="https://img.shields.io/github/issues/djcb/mu/rfe?color=008b8b.svg" /> <img src=" title="https://img.shields.io/badge/PRs-welcome-brightgreen.svg" />
<img src=" title="https://img.shields.io/badge/Emacs-26.3-922793?logo=gnu-emacs&logoColor=b39ddb&.svg" /> <img src=" title="https://img.shields.io/badge/Platform-Linux-2e8b57?logo=linux&.svg" /> <img src=" title="https://img.shields.io/badge/Platform-FreeBSD-8b3a3a?logo=freebsd&logoColor=c32136&.svg" /> <img src=" title="https://img.shields.io/badge/Platform-macOS-101010?logo=apple&logoColor=ffffff&.svg" />

[ Note: you are looking at the development branch, which is where new code is being developed and tested, and which may occasionally break. Distributions and non-adventurous users are instead recommended to use the 1.10 Release Branch or to pick up one of the 1.10 Releases. ]

Welcome to mu!

Latest development news: /emacs/mu/src/branch/master/NEWS.org.

With the enormous amounts of e-mail many people gather and the importance of e-mail message in our work-flows, it's essential to quickly deal with all that mail - in particular, to instantly find that one important e-mail you need right now, and quickly file away message for later use.

mu is a tool for dealing with e-mail messages stored in the Maildir-format. mu's purpose in life is to help you to quickly find the messages you need; in addition, it allows you to view messages, extract attachments, create new maildirs, and so on.

After indexing your messages into a Xapian-database, you can search them using a custom query language. You can use various message fields or words in the body text to find the right messages.

Built on top of mu are some extensions (included in this package):

  • mu4e: a full-featured e-mail client that runs inside emacs
  • mu-guile: bindings for the Guile/Scheme programming language (version 3.0 and later)

mu is written in C++; mu4e is written in elisp and mu-guile in a mix of C++ and Scheme.

mu is available in Linux distributions (e.g. Debian/Ubuntu and Fedora) under the name maildir-utils; apparently because they don't like short names. All of the code is distributed under the terms of the GNU General Public License version 3 (or higher).


Note: building from source is an advanced subject, especially if something goes wrong. The below simple examples are a start, but all tools involved have many options; there are differences between systems, versions etc. So if this is all a bit daunting we recommend to wait for someone else to build it for you, such as a Linux distribution. Many have packages available.


To be able to build mu, ensure you have:

  • a C++17 compiler (gcc or clang are known to work)
  • development packages for Xapian and GMime and GLib (see meson.build for thex versions)
  • basic tools such as make, sed, grep
  • meson

For mu4e, you also need emacs.

Note, support for Windows is very much experimental, that is, it works for some people, but we can't really support it due to lack of the specific expertise. Help is welcome!


$ git clone git://github.com/djcb/mu.git
$ cd mu

mu uses meson for building, so you can use that directly, and all the usual commands apply. You can also use it indirectly through the provided Makefile, which provides a number of useful targets.

For instance, using the Makefile, you could install mu using:

$ ./autogen.sh && make
$ sudo make install

Alternatively, you can run meson directly (see the meson documentation for more details):

$ meson setup -C build
$ meson compile -C build
$ meson install -C build