stalwartlabs / website

Stalwart Documentation and Website
7 stars 18 forks source link

LDAP documentation improvement #7

Open nka11 opened 9 months ago

nka11 commented 9 months ago

Stalwart offers this integration in a flexible manner and it is already great.

The documentation offers to rely on PosixAccount and PosixGroup object classes but this doesn't fill well with my needs.

Unfortunately stardadized LDAP objects are not handling properly the specific needs of a MTA while offering some mail related fields, that shoud be used for identity rather than for the MTA user profile and accesses.

We can see also a lot of schema published arond various MTA, but there is no standardized schema with a RFC.

It exist however a few IETF drafts that attempt to solve the issue

https://tools.ietf.org/html/draft-srivastava-ldap-mail-00 https://tools.ietf.org/html/draft-lachman-ldap-mail-routing-03 https://tools.ietf.org/html/draft-steinback-ldap-mailgroups-00

and a LDAP schema published by debops that implements them under an unified OID

https://github.com/debops/debops/blob/master/ansible/roles/slapd/files/etc/ldap/schema/debops/mailservice.schema

I'll be willing to lead some PR's (mostly doc and some code here and there) that publish a stalwart specific schema extension, offering a clear and smooth LDAP integration and setup assistant.

For it to be well done in the state of the art, I will need to use a specific OID identification number that is standardized and contains a IANA that is registered for the entity publishing the shema. Unfortunately, as far as i know, there is no stalwart IANA PEN number registered. https://www.iana.org/assignments/enterprise-numbers/?q=stalwart

The registration is quite straightforward and would allow to offer the system admisitrator a dedicated schema for the stalwart user database and configuration.

https://www.iana.org/assignments/enterprise-numbers/assignment/apply/

Please let me know if you're interressed in such a contribution, amd if so, to apply stalwart for a IANA number.

Best regards

mdecimus commented 9 months ago

Hi, thanks for the suggestion. I will look into this in a few weeks as soon as the performance enhancements are completed.

nka11 commented 9 months ago

Understood. I made this condensed view of the proposedByTheDrafts schema extension.

image