Hide sender client IP v2

This commit is contained in:
Spitfireap
2025-01-13 15:28:44 +01:00
committed by Antoine Nguyen
parent 0056ef20aa
commit 757c1dd48b

View File

@@ -132,6 +132,9 @@ strict_rfc821_envelopes = yes
smtpd_sender_login_maps =
proxy:%{db_driver}:/etc/postfix/sql-sender-login-map.cf
# Add authenticated header to hide public client IP
smtpd_sasl_authenticated_header = yes
# Recipient restriction rules
smtpd_recipient_restrictions =
check_policy_service inet:127.0.0.1:9999