install_postfix_advanced.sh, install_postfwd.sh: some minor changes to default 'postfwd.cf' configuration file.
This commit is contained in:
parent
f97f38fa38
commit
3e4e9edb8c
@ -902,7 +902,9 @@ if [[ ! -f "/etc/postfix/postfwd.cf" ]]; then
|
|||||||
|
|
||||||
# Blacklist sender adresses
|
# Blacklist sender adresses
|
||||||
&&BLOCK_SENDER {
|
&&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
|
# Inbound emails only
|
||||||
|
@ -168,7 +168,9 @@ if [[ ! -f "/etc/postfix/postfwd.cf" ]]; then
|
|||||||
|
|
||||||
# Blacklist sender adresses
|
# Blacklist sender adresses
|
||||||
&&BLOCK_SENDER {
|
&&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
|
# Inbound emails only
|
||||||
|
Loading…
Reference in New Issue
Block a user