From 326caed19786670770e856fb48939069ea671050 Mon Sep 17 00:00:00 2001 From: Cullum Smith Date: Wed, 6 Nov 2024 07:54:33 -0500 Subject: automatically add missing headers in postfix for local clients --- files/usr/local/etc/postfix/main.cf.smtp_server | 2 ++ 1 file changed, 2 insertions(+) (limited to 'files/usr/local/etc') 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 <