aboutsummaryrefslogtreecommitdiff
path: root/files
diff options
context:
space:
mode:
authorCullum Smith <cullum@sacredheartsc.com>2024-11-06 07:54:33 -0500
committerCullum Smith <cullum@sacredheartsc.com>2024-11-06 07:54:33 -0500
commit326caed19786670770e856fb48939069ea671050 (patch)
treee13484287252b43da35c3648437a94159e1d4d2b /files
parentd59873c24a005c513eb5622408eb244bcd3170e3 (diff)
downloadinfrastructure-326caed19786670770e856fb48939069ea671050.tar.gz
automatically add missing headers in postfix for local clients
Diffstat (limited to 'files')
-rw-r--r--files/usr/local/etc/postfix/main.cf.smtp_server2
1 files changed, 2 insertions, 0 deletions
diff --git a/files/usr/local/etc/postfix/main.cf.smtp_server b/files/usr/local/etc/postfix/main.cf.smtp_server
index 72c0448..9025d0e 100644
--- a/files/usr/local/etc/postfix/main.cf.smtp_server
+++ b/files/usr/local/etc/postfix/main.cf.smtp_server
@@ -37,6 +37,8 @@ disable_vrfy_command = yes
show_user_unknown_table_name = no
tls_medium_cipherlist = ${postfix_cipherlist}
tls_preempt_cipherlist = no
+always_add_missing_headers = yes
+local_header_rewrite_clients = permit_inet_interfaces, permit_mynetworks
$(if [ "$postfix_public_fqdn" != "$fqdn" ]; then
cat <<EOF