Do not install DMARC Report support on mail relay systems.
This commit is contained in:
@@ -452,8 +452,8 @@ else
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
if ! ${IS_RELAY_HOST} ; then
|
|
||||||
INSTALL_DMARC_REPORT_SUPPORT=false
|
INSTALL_DMARC_REPORT_SUPPORT=false
|
||||||
|
if ! ${IS_RELAY_HOST} ; then
|
||||||
echo ""
|
echo ""
|
||||||
echo -e "\033[32m--\033[m"
|
echo -e "\033[32m--\033[m"
|
||||||
echo ""
|
echo ""
|
||||||
@@ -580,9 +580,6 @@ fi
|
|||||||
|
|
||||||
[[ "$IPV6" = "disabled" ]] && IPV6=""
|
[[ "$IPV6" = "disabled" ]] && IPV6=""
|
||||||
|
|
||||||
exit
|
|
||||||
clean_up 1
|
|
||||||
|
|
||||||
|
|
||||||
# - Synchronise package index files with the repository
|
# - Synchronise package index files with the repository
|
||||||
# -
|
# -
|
||||||
@@ -3827,6 +3824,7 @@ if ${INSTALL_DMARC_REPORT_SUPPORT} ; then
|
|||||||
# - ├── processed/ # Originalmails (Archiv)
|
# - ├── processed/ # Originalmails (Archiv)
|
||||||
# - ├── exports/ # CSV- und Top-Auswertungen
|
# - ├── exports/ # CSV- und Top-Auswertungen
|
||||||
# - └── logs/ # Logdateien
|
# - └── logs/ # Logdateien
|
||||||
|
echo ""
|
||||||
echononl " Add directory Structure for collecting and analysing DMARC reports.."
|
echononl " Add directory Structure for collecting and analysing DMARC reports.."
|
||||||
install -d -o vmail -g vmail -m 750 /var/lib/dmarc/{reports,processed,exports,logs} > /dev/null 2> $log_file
|
install -d -o vmail -g vmail -m 750 /var/lib/dmarc/{reports,processed,exports,logs} > /dev/null 2> $log_file
|
||||||
if [[ $? -eq 0 ]] ; then
|
if [[ $? -eq 0 ]] ; then
|
||||||
|
|||||||
Reference in New Issue
Block a user