install_sympa.sh: add 'dmarc_protection_mode dmarc_reject' to file '/etc/sympa/sympa.conf'.
This commit is contained in:
parent
278c451ad1
commit
bd54ca82c4
@ -3258,6 +3258,39 @@ EOF
|
||||
See '${_log_file}' for further informations."
|
||||
fi
|
||||
|
||||
echo "" >> $_log_file
|
||||
echo "## - Add \"dmarc_protection_mode dmarc_reject\" to file ${SYMPA_MAIN_CONF_DIR}/sympa.conf .." >> $_log_file
|
||||
echo "## -" >> $_log_file
|
||||
echononl "\tAdd \"dmarc_protection_mode dmarc_reject\" to file ${SYMPA_MAIN_CONF_DIR}/sympa.conf .."
|
||||
echo "cat << EOF > ${SYMPA_MAIN_CONF_DIR}/sympa.conf
|
||||
|
||||
## dmarc_protection_mode
|
||||
##
|
||||
## Fix to prevent 'yahoo' and other to reject mails from sympa mailing list manager.
|
||||
##
|
||||
## See also:
|
||||
## https://sympa-community.github.io/manual/customize/dmarc-protection.html
|
||||
dmarc_protection_mode dmarc_reject
|
||||
EOF" >> $_log_file
|
||||
cat << EOF >> ${SYMPA_MAIN_CONF_DIR}/sympa.conf 2>> $_log_file
|
||||
|
||||
## dmarc_protection_mode
|
||||
##
|
||||
## Fix to prevent 'yahoo' and other to reject mails from sympa mailing list manager.
|
||||
##
|
||||
## See also:
|
||||
## https://sympa-community.github.io/manual/customize/dmarc-protection.html
|
||||
dmarc_protection_mode dmarc_reject
|
||||
EOF
|
||||
if [ "$?" = "0" ]; then
|
||||
echo_ok
|
||||
else
|
||||
echo_failed
|
||||
error "Cannot set \"dmarc_protection_mode\" in file \"${SYMPA_MAIN_CONF_DIR}/sympa.conf\"! \n
|
||||
See '${_log_file}' for further informations."
|
||||
fi
|
||||
|
||||
|
||||
## - Set owner/group for \"sympa.conf\"..
|
||||
## -
|
||||
echononl "\tSet owner/group for \"sympa.conf\".."
|
||||
|
Loading…
Reference in New Issue
Block a user