From abcd3a4a2ea2c5f3c9ac215453488d6a2bcf2584 Mon Sep 17 00:00:00 2001 From: Jakub Czajka Date: Sun, 6 Nov 2022 15:48:03 +0100 Subject: [PATCH] [postfix] Fill missing header fields. Gmail requires a `MessageId` header field. However, not all clients set this field and gmail reject emails. This commit instructs `postfix` to add missing headers fields (eg. `MessageId`). --- postfix/main.cf | 3 +++ 1 file changed, 3 insertions(+) diff --git a/postfix/main.cf b/postfix/main.cf index 0e7c03d..dbdc517 100644 --- a/postfix/main.cf +++ b/postfix/main.cf @@ -24,3 +24,6 @@ smtpd_tls_cert_file = ${mail_ssl_cert_dir}/fullchain.pem smtpd_tls_key_file = ${mail_ssl_cert_dir}/privkey.pem smtpd_tls_mandatory_ciphers = high smtpd_tls_security_level = encrypt + +# Message rewrite +always_add_missing_headers = yes -- 2.39.5