docker-mailserver/target/postfix
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
..
header_checks.pcre Support for additional postgrey options (Close: #998, #999, #1046) 2018-11-01 19:32:36 +01:00
ldap-aliases.cf chore: LDAP config improvements (#3522) 2023-09-02 22:07:02 +12:00
ldap-domains.cf chore: LDAP config improvements (#3522) 2023-09-02 22:07:02 +12:00
ldap-groups.cf chore: LDAP config improvements (#3522) 2023-09-02 22:07:02 +12:00
ldap-senders.cf chore: LDAP config improvements (#3522) 2023-09-02 22:07:02 +12:00
ldap-users.cf chore: LDAP config improvements (#3522) 2023-09-02 22:07:02 +12:00
main.cf chore(main.cf): Add note advising caution changing `mydestination` (#3316) 2023-05-10 23:23:02 +00:00
master.cf Postfix: rename "smtps" to "submissions" (#3235) 2023-05-10 11:29:51 +02:00
sender_header_filter.pcre correct the casing for Mime vs MIME (#3040) 2023-01-30 08:58:35 +01:00
sender_login_maps.pcre Added reject_authenticated_sender_login_mismatch (#872) 2018-03-07 19:33:43 +01:00