docker-mailserver/target
Brennan Kinney ed84dca147
chore: LDAP config improvements (#3522)
* chore: Drop management of `SASLAUTHD_*` ENV

- `variables-stack.sh` does not need to manage all these extra ENV or store them. They're not used anywhere else.
- `saslauthd.sh` is the only consumer of these ENV which are effectively direct key/value mappings, with some defaults provided / inherited.

Instead of trying to conditionally support key/value pairs when ENV is set, we could instead use `sed` to delete lines with empty values.

* chore: Drop fallbacks + update configs to match docs

- Drop deprecated support:
  - `DOVECOT_HOSTS` is an ENV deprecated since v10.
  - Fallback for missing URI scheme introduced for Dovecot and SASLAuthd in v10.
  - Adding error log message when no LDAP URI scheme is detected for the supported ENV (when set).
- Docs updated for ENV to reflect the mandatory requirement. `mailserver.env` partially synced equivalent sections.
- Provided base LDAP configs (for overriding) likewise updated from `domain.com` to `example.com`.
- LDAP test updated for required `ldap://` URI scheme. Common ENV shared across LDAP configs hoisted out of the Postfix group.

* chore: Remove unset lines in generated `saslauthd.conf`
2023-09-02 22:07:02 +12:00
..
amavis chore(Amavis): only add configuration to Postfix when enabled (#3046) 2023-02-03 17:32:07 +01:00
bin chore: Change setup config dkim default key size to 2048 (open-dkim) (#3508) 2023-08-29 09:40:02 +12:00
dovecot chore: LDAP config improvements (#3522) 2023-09-02 22:07:02 +12:00
fail2ban F2B: update F2B after discussion in #3256 (#3288) 2023-05-01 15:00:35 +02:00
fetchmail Implement fetchmail (#260) (#271) 2016-08-21 22:13:13 +02:00
getmail feature: adding getmail as an alternative to fetchmail (#2803) 2023-05-23 17:25:08 +02:00
logwatch Add logwatch maillog.conf file to support /var/log/mail/ (#2112) 2021-08-11 11:31:00 +02:00
opendkim Fixed KeyTable refile in opendkim.conf https://serverfault.com/a/861701/377751 (#2249) 2021-10-16 19:04:51 +02:00
opendmarc fix: Change the default OpenDMARC policy to reject (#2933) 2022-12-19 08:54:38 +13:00
postfix chore: LDAP config improvements (#3522) 2023-09-02 22:07:02 +12:00
postgrey change if style (#3361) 2023-05-24 09:06:59 +02:00
postsrsd config: remove chroot for Dovecot & PostSRSd (#3208) 2023-03-31 12:17:44 +02:00
rspamd/local.d rspamd: disable checks for authenticated users (#3440) 2023-08-08 10:43:21 +02:00
scripts chore: LDAP config improvements (#3522) 2023-09-02 22:07:02 +12:00
shared init tests cases ffdhe4096 2020-04-26 22:23:51 +02:00
supervisor fix: postsrsd restart loop (#3160) 2023-03-13 12:39:03 +13:00