LDAP address searches for Mutt
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.
# emerge -av app-portage/layman # layman --add wtk # emerge -av mail-client/mutt-ldap
If you’re installing by hand or packaging Mutt-LDAP for another distribution, you’ll need the following dependencies:
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.
This project is distributed under the GNU General Public License Version 3 or greater.
Use the GitHub issue tracker to submit bugs.