Deux sauts est-ouest en clair, corrigés : - LMTP edge-mta -> infra-mail:24 : lmtp_tls_security_level=verify + lmtp_tls_CAfile=root_ca (le CONTENU des courriels). Dovecot LMTP offrait déjà STARTTLS (cert step-ca, SAN infra-mail-01) : aucun changement Dovecot. - client_smtp -> edge-mta:25 : msmtp tls_starttls on + tls_trust_file root_ca. Prouvé : livraison LMTP status=sent (verify ⇒ TLS obligatoire), msmtp tls=on smtpstatus=250. Déjà chiffrés : submission :587, Postfix->LDAP ldaps, IMAP :993. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
13 lines
346 B
Django/Jinja
13 lines
346 B
Django/Jinja
# Gere par Set-OPS (role client_smtp). Ne pas editer a la main.
|
|
defaults
|
|
tls {{ 'on' if client_smtp_tls | bool else 'off' }}
|
|
{% if client_smtp_tls | bool %}
|
|
tls_starttls on
|
|
tls_trust_file {{ client_smtp_tls_trust_file }}
|
|
{% endif %}
|
|
syslog on
|
|
|
|
account default
|
|
host {{ client_smtp_relais }}
|
|
port {{ client_smtp_port }}
|
|
from {{ client_smtp_from }}
|