Merge branch 'reduce-logs' into 'master'

Reduce logs with TLS sessions by default

See merge request simple-nixos-mailserver/nixos-mailserver!382
This commit is contained in:
Sandro 2025-05-03 11:29:11 +02:00
commit 79b6a971f1

View File

@ -293,8 +293,8 @@ in
# Allowing AUTH on a non encrypted connection poses a security risk
smtpd_tls_auth_only = true;
# Log only a summary message on TLS handshake completion
smtp_tls_loglevel = "1";
smtpd_tls_loglevel = "1";
smtp_tls_loglevel = lib.mkIf cfg.debug "1";
smtpd_tls_loglevel = lib.mkIf cfg.debug "1";
# Configure a non blocking source of randomness
tls_random_source = "dev:/dev/urandom";