mail: match smtp banner to rDNS

This commit is contained in:
Rouven Seifert 2024-03-08 14:41:03 +01:00
parent 8fe2173040
commit d1fca836b9
Signed by: rouven.seifert
GPG key ID: B95E8FE6B11C4D09

View file

@ -92,6 +92,7 @@ in
message_size_limit = "26214400";
# hostname used in helo command. It is recommended to have this match the reverse dns entry
smtp_helo_name = config.networking.rDNS;
smtpd_banner = "${config.networking.rDNS} ESMTP $mail_name";
smtp_use_tls = true;
# smtp_tls_security_level = "encrypt";
smtpd_use_tls = true;