1
0
mirror of https://github.com/tomav/docker-mailserver.git synced 2024-07-16 12:48:00 +02:00
docker-mailserver/test/config
Brennan Kinney 39ae101266
tests: Change OpenLDAP image to bitnami/openldap (#3494)
**TL;DR:**
- New image is actively maintained vs existing one that is over 5 years old. 
- Slight improvement to LDAP tree config via `.ldif` files.
- No more `Dockerfile` required to build, we can just rely on `docker run`.

`osixia/openldap` has not seen any activity since Feb 2021, while our `Dockerfile` was fixed to v1.1.6` (Feb 2018).

Startup time for this new image is around 5 seconds? (_The LDAP test uses a standard 20 second timeout check to wait until the server is ready before continuing with starting the DMS image_).

This commit migrates to `bitnami/openldap` which required modifying the `01_mail-tree.ldif` to also include adding the root object to start successfully. This image is actively maintained and one of the most popular OpenLDAP images on DockerHub.

The user account `.ldif` files have minimal changes:
- Lines moved around for better organization
- Additional comments for context
- Removal of inherited `objectClass` attributes (`person`, `top`) from the `orgnizationalPerson` class. Attribute `sn` changed to long form `surname` and values corrected with `givenName`. `changetype: add` was also not necessary.

Additionally the image does not support the `.schema` format, they must be converted to `.ldif` which has been done for `postfix-book.schema`.

See PR for more details.
2023-08-22 21:38:25 +12:00
..
dovecot-lmtp config: ensure SASL socket file is not inside a volume mount (#3131) 2023-03-03 23:42:55 +01:00
dovecot-sieve tests: Extract some test cases out from tests.bats (#2980) 2023-01-07 11:36:20 +13:00
duplicate_config_test Fix linter issue 2020-10-20 15:02:31 +02:00
example-opendkim tests(refactor): open_dkim.bats (#3060) 2023-02-10 00:18:06 +13:00
fetchmail tests(refactor): mail_fetchmail.bats + co-locate test cases for processes (#3010) 2023-01-18 14:42:55 +13:00
getmail feature: adding getmail as an alternative to fetchmail (#2803) 2023-05-23 17:25:08 +02:00
ldap tests: Change OpenLDAP image to bitnami/openldap (#3494) 2023-08-22 21:38:25 +12:00
override-configs removal: configomat (submodule) (#3045) 2023-02-05 12:39:05 +01:00
relay-hosts Update relayhost_map with virtual accounts too 2020-08-28 15:03:51 +02:00
rspamd_full scripts: Rspamd stabilization pt. 2 (#3282) 2023-04-23 14:02:56 +02:00
smtp-delivery tests: Extract some test cases out from tests.bats (#2980) 2023-01-07 11:36:20 +13:00
templates build: cleaned up Makefile (#2833) 2022-10-17 08:08:04 +13:00
user-patches Remove unusual space from shebang line (#2834) 2022-10-17 10:40:09 +02:00
without-accounts Reinstane required (empty) folder 2020-10-18 02:25:03 +02:00
amavis.cf
fail2ban-fail2ban.cf
fail2ban-jail.cf firewall: replace iptables with nftables (#2505) 2022-04-05 15:13:59 +02:00
postfix-regexp.cf support comments in .cf files 2020-05-06 22:59:55 +02:00
postfix-virtual.cf support comments in .cf files 2020-05-06 22:59:55 +02:00
whitelist_clients.local
whitelist_recipients