Set-OPS-Public/roles/serveur_postfix/templates/ldap-mailboxes.cf.j2
Daniel Allaire 9480e585a5 serveur_postfix (Postfix 3.x) : MTA edge-mta — cartes LDAP + LMTP + TLS step_ca
Réception :25, validation des boîtes par carte LDAP (attribut mail),
remise LMTP réseau vers le mail-store Dovecot (virtual_transport lmtp),
TLS via step_ca (pont de cert), aucune boîte locale. main.cf +
ldap-mailboxes.cf, validé par postfix check. Bind LDAP: vault_openldap_admin.

Validé statiquement (ansible-lint, syntax, rendu main.cf) ; déploiement à suivre.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-02 15:34:24 -04:00

10 lines
415 B
Django/Jinja

# Géré par Set-OPS (rôle serveur_postfix). Ne pas éditer à la main.
# Carte LDAP : valide qu'une adresse correspond à une boîte (attribut mail).
server_host = {{ serveur_postfix_ldap_serveur }}
search_base = {{ serveur_postfix_ldap_base }}
query_filter = (mail=%s)
result_attribute = mail
bind = yes
bind_dn = {{ serveur_postfix_ldap_bind_dn }}
bind_pw = {{ serveur_postfix_ldap_bind_password }}
version = 3