Connect Thunderbird to an LDAP Address Book for Contact Lookup

To use your organization’s LDAP contacts in Mozilla Thunderbird, add an LDAP directory, enter the server’s hostname and search base, and select that directory for address lookup when composing messages. This gives you searchable, centrally maintained contacts; it does not create a two-way contact sync.

Before you connect: a fictional company example

Hypothetical example: Northstar Design wants its staff to find coworker email addresses from a company directory without manually copying contact cards. Its IT administrator provides the values below. These are sample settings for explanation, not credentials or results from a tested server.

SettingExample valueWhat to confirm with IT
Directory nameCompany DirectoryAny recognizable label is fine.
Hostnameldap.example.orgUse the real LDAP server’s DNS name, not your mail server by assumption.
Base DNou=people,dc=example,dc=orgThe distinguished name (DN) of the subtree containing visible contacts.
ConnectionPort 636, secure connection (SSL)Confirm that the server supports LDAP over TLS (LDAPS) and has a trusted certificate.
Bind DNProvided by IT if neededA directory login identity; some directories allow anonymous search.

You must also be on the office network or an approved VPN if the LDAP endpoint is private. Never expose an internal LDAP service to the public Internet merely to make Thunderbird work. Thunderbird’s directory setup is documented by RWTH Aachen University’s Thunderbird LDAP instructions (updated August 20, 2026); the exact names, certificates, permissions, and available LDAP ports come from your own administrator.

Add the LDAP directory in Thunderbird

  1. Open Thunderbird Settings. Click the application menu (three horizontal lines), then select Settings. On macOS or with the classic menu enabled, the menu placement may differ; use the labeled Settings page rather than relying on a specific icon position.
    Thunderbird application menu open with Settings highlighted beneath the mail folders.
    The Thunderbird application menu shows the Settings entry used to begin LDAP configuration.
  2. Find the addressing controls. Select Composition and scroll to Addressing. Look for Directory Server and Edit Directories. RWTH’s August 2026 instructions document this path. Keep ordinary local address-book suggestions enabled if you still want your personal contacts in autocomplete.
    Thunderbird Composition settings displaying the Addressing section, Directory Server option, and Edit Directories button.
    The Composition pane contains the directory-server controls used for company address lookup.
  3. Create a directory entry. Choose Edit Directories, then Add in the LDAP Directory Servers window. If you prefer to start from the Address Book tab, some builds expose New Address Book → Add LDAP Address Book; labels and menu placement can vary by release. Both routes are intended to add a remote LDAP directory.
    LDAP Directory Servers dialog with an empty server list and Add button highlighted.
    The LDAP Directory Servers window provides the Add action for registering a new directory.
  4. Enter the server properties. Set the name to Company Directory, enter the administrator-provided hostname and Base DN, and use port 636 with Use secure connection (SSL) only when that is the server’s documented LDAPS configuration. Enter a Bind DN only if required; Thunderbird can request the password when it first searches. Do not use plain, unprotected LDAP with a password on an untrusted network, and do not bypass certificate warnings.
    New LDAP Directory general settings showing a company directory name, LDAP hostname, base DN, port 636, and Bind DN field.
    The General tab brings together the directory name, host, search base, port, and optional bind identity.
  5. Review advanced search settings only if necessary. The Advanced tab can contain result limits, search scope, and a search filter. For Northstar’s hypothetical directory, a subtree search could find people below ou=people,dc=example,dc=org. Leave defaults intact unless IT specifies a filter; an overly restrictive filter can make a healthy connection appear empty. The Apache Directory’s Thunderbird LDAP example describes these LDAP search controls.
    Advanced LDAP directory options showing result limit 100, Subtree scope, and objectClass person search filter.
    The advanced fields illustrate a result limit, subtree search scope, and LDAP search filter.
  6. Consider offline contacts separately. An Offline tab or Download Now control may be available for a local directory copy. Use it only if your server permits it, the option exists in your Thunderbird build, and local storage complies with company policy. An offline download is not guaranteed periodic synchronization or two-way editing. For example, Kerio Connect’s Thunderbird LDAP documentation explicitly says its Kerio LDAP integration supports lookup but not local downloading, while Thunderbird’s address-book developer documentation describes optional offline LDAP downloads in Thunderbird generally.
    LDAP Directory Offline tab containing a Download Now control and a note about server-dependent availability.
    The offline settings illustrate the optional Download Now control; actual availability depends on configuration.
  7. Save and search your directory. Confirm the new server’s properties with OK, then make sure Directory Server is enabled and the added directory is selected where Thunderbird offers a directory selector. Open Address Book, choose Company Directory, and search for a coworker whose entry IT has confirmed exists. LDAP books often look empty until a search is entered because they query the remote server rather than immediately listing everyone.
    Thunderbird Address Book with Company Directory selected and sample Jane Smith and Tom Smith search results.
    In the hypothetical company example, searching the selected Company Directory returns sample Smith entries.
  8. Check message composition. Open a new message and start typing a known employee’s name in the To field. A matching directory suggestion should appear when server access and autocomplete are configured correctly. If it does not, open Account Settings → Composition & Addressing for the sending account and verify that it uses the global LDAP preferences or the intended directory. Some identities can override global address lookup; see Mozilla’s account identity configuration reference.
    Thunderbird compose window displaying a Jane Smith recipient suggestion after typing Jane Sm in the To field.
    The compose window illustrates a directory-based recipient suggestion for the sample employee Jane Smith.

Understand what LDAP “sync” does and does not do

Thunderbird’s LDAP address books are read-only and generally perform server-side searches. An administrator updates employees in LDAP; Thunderbird displays permitted results when it queries that directory. You cannot reliably edit employee records in Thunderbird and expect those changes to go back to LDAP. These behaviors are specified in Thunderbird’s address-book developer documentation.

For Northstar, this means a new hire may become searchable after an administrator adds their record and directory permissions allow the lookup. Whether that happens immediately depends on server-side updates, caching, network access, and search behavior—not a universal Thunderbird sync interval. If the requirement is editable, bidirectional personal contacts rather than a read-only corporate directory, ask IT for a supported CardDAV address book instead; CardDAV and LDAP serve different purposes.

If searches fail, check the most likely causes

  • No matches and no password prompt: Check hostname spelling, DNS resolution, office VPN, firewall rules, and the actual listening port. For LDAPS, TCP 636 is common but not universal.
  • Certificate or connection error: Confirm that the server certificate matches the hostname, is valid, and chains to a trusted authority. Ask IT to repair the certificate rather than disabling TLS validation.
  • Authentication rejected: Verify the Bind DN format and credentials. Do not substitute an email address for a full DN unless your directory administrator confirms that login format.
  • Connection works but the search is empty: Ask IT to verify the Base DN, permissions, search scope, and filters. Searching outside the allowed subtree can return no contacts.
  • Address Book search works, but typing a recipient does not: Recheck the global Directory Server choice and the sending identity’s Composition & Addressing override.

Verify the directory is working

Ask IT for one known directory record, search for it inside Company Directory, and confirm that its current email address appears. Then type the same name in a new message and check that the suggestion points to the right address; do not send a test message to an unverified recipient. Repeat while connected through the intended VPN if remote work is required. Passing both lookups confirms the practical goal: Thunderbird can find centrally managed LDAP contacts without creating duplicate local entries.

Leave a Comment

PC Tips