Skip to main content

Mutt-LDAP provides an external address query script for Mutt which connects to LDAP databases using python-ldap. It can cache queries locally in case your LDAP server is slow or not always available, expiring cached queries after a configurable amount of time.

Installation

Packages

Gentoo

I’ve packaged Mutt-LDAP for Gentoo. You need layman and my wtk overlay. Install with:

# emerge -av app-portage/layman
# layman --add wtk
# emerge -av mail-client/mutt-ldap

Dependencies

If you’re installing by hand or packaging Mutt-LDAP for another distribution, you’ll need the following dependencies:

Package

Purpose

Debian

Gentoo

python-ldap

LDAP connections

python-ldap

dev-python/python-ldap

Installing by hand

Mutt-LDAP is available as a Git repository:

$ git clone git://tremily.us/mutt-ldap.git

It is also mirrored on GitHub. To install the checkout, run the standard:

$ python setup.py install

or you can just copy mutt_ldap.py into to your PATH.

Usage

Add the following line to your ~/.muttrc:

set query_command = "mutt_ldap.py '%s'"

Search for addresses (from Mutt) with ^t, optionally after typing part of the name. Configure your connection by creating ~/.mutt-ldap.rc contaning something like:

[connection]
server = myserver.example.net
basedn = ou=people,dc=example,dc=net

See the CONFIG options in mutt_ldap.py for other available settings.

Licence

This project is distributed under the GNU General Public License Version 3 or greater.

Bugs

Use the GitHub issue tracker to submit bugs.

Release files for mutt-ldap 0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mutt-ldap 0.1
File Size Uploaded
mutt-ldap-0.1.tar.gz 17.6 kB Details

Release files / mutt-ldap-0.1.tar.gz

Download URL mutt-ldap-0.1.tar.gz
Size 17.6 kB
Tags Source
SHA-256 checksum
How to use checksums
40cbbfa7adebb2026d34b8a553d089e13a7676dd7dabd7d7b9ce370ee1c62041
BLAKE2b-256 checksum
How to use checksums
4d8f907bcc2f24c7032b6d05e35c766ccfe1287c13b51682a8012d942baf410a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.1 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page