29 July 2026 Updated: 25 October 2026 7 min read

Connect the SEPPmail Admin GUI to Active Directory: Set Up LDAP Authentication Starting with 15.0.6

Since firmware 15.0.6, administrators of the SEPPmail appliance can authenticate against an external LDAP server such as Active Directory, including group mapping to the local admin group. Setup under User > Advanced Settings, step by step.

Until firmware 15.0.5, the administrative interface of the SEPPmail Secure E-Mail Gateway only supported local accounts. Those who wanted to do things properly created a separate local user for each administrator and added them to the admin group. This works, but comes with the usual drawbacks of local accounts: separate passwords for each appliance, no centralized offboarding, and no enforcement of password policies from the directory service. That changes with patch release 15.0.6. The Admin GUI can optionally authenticate administrators against an external LDAP server such as Active Directory and map AD groups to local appliance groups.

The other changes in the release are summarized in the article on SEPPmail 15.0.6 and 15.0.6.1. This article covers only the new external authentication.

What the feature does

According to the Extended Release Notes, 15.0.6 adds a new External Authentication section under User > Advanced Settings. This enables the Admin GUI to authenticate against an external LDAP server and maps external groups, such as AD security groups, to local appliance groups.

Externally authenticated users appear locally on the appliance and behave like local users, with one difference: their password cannot be changed on the appliance because it resides on the external LDAP server. Password authority therefore moves entirely to the directory.

An important distinction: the appliance already supported external authentication, but only for the GINA web interface, configured per Managed Domain (the External authentication section in the domain configuration). New in 15.0.6 is that access to the administrative interface itself can also use LDAP.

I am still testing whether the HIN Mailgateway has also received LDAP login and will update the article afterward. Since HIN appliances are based on the same SEPPmail firmware, I assume so.

Prerequisites

Three things should be in place before setup:

  • Firmware 15.0.7 or later: The feature was introduced with 15.0.6. Since September 2, 2026, patch release 15.0.7 has been available, which fixes, among other issues, a bypass of the MFA requirement (SEC-100) and a command injection in configuration processing (CVE-2026-84830). The appliance should be running at least this version; the 15.1 feature branch (currently hotfix 15.1.0.1 from September 29, 2026) also includes the feature.
  • An LDAP-capable directory: Active Directory, OpenLDAP, or equivalent. If users exist only in Entra ID, which does not itself speak LDAP, Microsoft Entra Domain Services provides the bridge.
  • A bind account in the directory: A dedicated, unprivileged service account with read access that the appliance uses to perform LDAP searches. Not a domain administrator.
  • An AD group for gateway administrators: For example, a security group named SEPPmail-Admins, which is later mapped to the local admin group. Membership in this group then determines full administrative access.

TLS is enabled by default in the connection settings and should remain enabled; administrators’ credentials do not belong on the network unencrypted. The appliance must be able to reach the LDAP server on the configured port, usually 636 for LDAPS.

Setup under User > Advanced Settings

The configuration is located in the Admin GUI under User > Advanced Settings, in the External Authentication section, and consists of four blocks.

1. Connection Settings: The Authenticate users to external LDAP server (e.g. Active Directory) checkbox enables the feature. This is followed by the server address, port, the TLS required option, and the Bind DN and Bind Password of the service account.

2. User Attributes: This defines how the appliance finds user objects: the LDAP Object Class (typically person for Active Directory), the Search Base (the OU or container that holds the administrator accounts), and the email attribute (default: mail).

3. Group Attributes: Similarly, these settings specify group objects so the appliance can resolve group memberships.

4. Mapping Settings: This is the crucial part. Under Remote Group, select the group from the LDAP server; under Local Group, select one or more local groups to which it is mapped. For full administrative access, this is the admin group; its members have the same privileges as the default admin user. For more granular access, map to restricted groups such as readonly admin or to appliance groups tied to specific functions instead.

Before saving, it is worth using the built-in Login Test: enter the username and password of a test account to verify that the connection, search, and authentication work before the configuration becomes active.

Example configurations

The following values must be adapted to your own environment (example domain: example.com). The field names correspond to the appliance’s External Authentication section.

Active Directory

FieldValue
Serverdc01.example.com
Port636
TLS requiredenabled
Bind DNCN=svc-seppmail,OU=ServiceAccounts,DC=example,DC=com
Bind PasswordService account password
User: LDAP Object Classperson
User: Search BaseOU=IT,DC=example,DC=com
User: E-Mail Attributemail
Group: LDAP Object Classgroup
Group: Search BaseOU=Groups,DC=example,DC=com
Mapping: Remote GroupSEPPmail-Admins
Mapping: Local Groupadmin

Notes on Active Directory: Any reachable domain controller is suitable as the server; in environments with multiple sites, a DC at the same site or an alias that points to multiple DCs is recommended. Port 636 is LDAPS; the appliance must be able to validate the DC certificate for this. The Search Base should be as narrow as possible while still containing the administrator accounts, rather than encompassing the entire directory. The mail attribute must be maintained on the AD accounts.

OpenLDAP

FieldValue
Serverldap01.example.com
Port636
TLS requiredenabled
Bind DNcn=seppmail,ou=services,dc=example,dc=com
Bind PasswordService account password
User: LDAP Object ClassinetOrgPerson
User: Search Baseou=people,dc=example,dc=com
User: E-Mail Attributemail
Group: LDAP Object ClassgroupOfNames
Group: Search Baseou=groups,dc=example,dc=com
Mapping: Remote Groupseppmail-admins
Mapping: Local Groupadmin

Notes on OpenLDAP: In typical setups, users are stored as inetOrgPerson under ou=people. For groups, groupOfNames is the reliable choice because membership is represented there through the member attribute using the full DN. By contrast, posixGroup groups list their members only as memberUid values, meaning usernames rather than DNs; whether the appliance resolves this is not documented and should be checked with the Login Test before making the switch. If the server only uses STARTTLS on port 389, enter the corresponding port in the Server field; the connection should never be unencrypted.

Operational considerations

Three points deserve attention before LDAP login becomes the only way to access the appliance:

  • Keep a local emergency access account. External users’ passwords reside on the LDAP server. If the directory cannot be reached—due to a network issue, AD maintenance, or because the gateway is meant to fix a problem with that very network—a local administrator account with a securely stored password is still required. The default admin user should therefore not be removed, but maintained as a documented emergency access account.
  • MFA remains relevant. Version 15.0.6 also revised MFA login: the second factor is no longer appended to the password but requested in its own field. External authentication does not replace the second factor. A vulnerability that could allow access under certain conditions before all MFA steps were completed was fixed only in 15.0.7.
  • Offboarding through the directory. This is the main benefit of the integration: when an administrator leaves the company, disabling the AD account or removing it from the mapped group is sufficient. The previous need to maintain local accounts on every appliance is eliminated. However, locally visible, externally authenticated user objects should still be periodically reconciled with the directory.

Conclusion

LDAP authentication for the Admin GUI closes a long-standing gap in the appliance: administrator access can now be managed centrally in the directory rather than individually on each device. Together with the separate MFA field, 15.0.6 significantly improves login to the administrative interface in a single release. Anyone introducing the feature should keep group mapping deliberately restrictive and retain local emergency access.

Change history

  • October 25, 2026: Raised the recommended minimum version from 15.0.6.1 to 15.0.7, which fixes a bypass of the MFA requirement (SEC-100) and CVE-2026-84830. Added: the 15.1 feature branch (currently 15.1.0.1) also includes the feature.

Sources

  1. SEPPmail Extended Release Notes 15.0

    Entry on Admin GUI authentication with a feature description, configuration location, and the behavior of externally authenticated users; security fixes in 15.0.7 (SEC-100, CVE-2026-84830).

    https://downloads.seppmail.com/extrelnotes/150/ERN15.0.html
  2. SEPPmail documentation – “User > Advanced Settings”

    Reference for the fields in the External Authentication section (Connection, User Attributes, Group Attributes, Mapping, Login Test).

    https://docs.seppmail.com/ch/07_mi_15_usr_04_advanced-settings.html
  3. SEPPmail documentation – “Groups”

    Predefined appliance groups; members of the admin group have unrestricted administrative access.

    https://docs.seppmail.com/ch/07_mi_16_groups.html
  4. SEPPmail documentation – “Revision History”

    Official release notes for 15.0.6 with the entry on Admin GUI authentication against external LDAP servers, as well as the subsequent releases 15.0.7, 15.1.0, and 15.1.0.1.

    https://docs.seppmail.com/ch/20_revision-history.html
  5. SEPPmail 15.0.6 and 15.0.6.1: Security Fixes and New Admin Features

Comments

Comments are loaded from GitHub / Giscus.