feat(role): Initial commit
This commit is contained in:
9
templates/etc/postfix/smtp_header_checks.j2
Normal file
9
templates/etc/postfix/smtp_header_checks.j2
Normal file
@@ -0,0 +1,9 @@
|
||||
# SPDX-License-Identifier: MIT
|
||||
# In our 'From:' header reuse any mail display name then append our
|
||||
# official sender e-mail address.
|
||||
/^From:[[:space:]]*(.+?)([[:space:]]*<)/ REPLACE From: "${1}" <{{ somta__e_mail_default_sender_addr_spec }}>
|
||||
|
||||
# Hide the sender's IP and user agent in the Received header
|
||||
# https://wiki.archlinux.org/title/Postfix
|
||||
/^Received:.*/ IGNORE
|
||||
/^User-Agent:.*/ IGNORE
|
||||
Reference in New Issue
Block a user