install_postfix_advanced.sh, install_postfwd.sh: some minor changes to default 'postfwd.cf' configuration file.

This commit is contained in:
Christoph 2019-10-15 15:39:43 +02:00
parent f97f38fa38
commit 3e4e9edb8c
2 changed files with 6 additions and 2 deletions

View File

@ -902,7 +902,9 @@ if [[ ! -f "/etc/postfix/postfwd.cf" ]]; then
# Blacklist sender adresses
&&BLOCK_SENDER {
sender==file:/etc/postfix/postfwd.bl-sender
# =~
# using '=~' allows also matching entries for domains (i.e. @acieu.co.uk)
sender=~file:/etc/postfix/postfwd.bl-sender
}
# Inbound emails only

View File

@ -168,7 +168,9 @@ if [[ ! -f "/etc/postfix/postfwd.cf" ]]; then
# Blacklist sender adresses
&&BLOCK_SENDER {
sender==file:/etc/postfix/postfwd.bl-sender
# =~
# using '=~' allows also matching entries for domains (i.e. @acieu.co.uk)
sender=~file:/etc/postfix/postfwd.bl-sender
}
# Inbound emails only