Add notes to clean outgoing header
This commit is contained in:
@@ -169,10 +169,24 @@ step_8() {
|
||||
echo " }"
|
||||
echo " }"
|
||||
echo
|
||||
echo " [/etc/postfix/main.cf]"
|
||||
echo
|
||||
echo " postconf -e \"mailbox_transport = lmtp:unix:private/dovecot-lmtp\""
|
||||
echo " postconf -e \"smtputf8_enable = no\""
|
||||
echo
|
||||
echo "# Clean outgoing mail header from sensitiv information"
|
||||
echo " [/etc/postfix/master.cf]"
|
||||
echo " smtps inet n - y - - smtpd"
|
||||
echo " [...]"
|
||||
echo " -o cleanup_service_name=headclean"
|
||||
echo " #add below \"cleanup\""
|
||||
echo " headclean unix n - - - 0 cleanup"
|
||||
echo " -o header_checks=regexp:/etc/postfix/sender_header_checks"
|
||||
echo
|
||||
echo " [/etc/postfix/sender_header_checks]"
|
||||
echo " /^Received:/ IGNORE"
|
||||
echo " /^X-PHP-Originating-Script:/ IGNORE"
|
||||
echo " /^X-Originating-IP:/ IGNORE"
|
||||
echo " /^X-Mailer:/ IGNORE"
|
||||
echo " /^User-Agent:/ IGNORE"
|
||||
}
|
||||
|
||||
step_20_info() {
|
||||
|
Reference in New Issue
Block a user