install_postfix_advanced.sh: fix permissions to service scripts for DMARC reporting.

This commit is contained in:
2025-11-13 00:19:15 +01:00
parent 20d4c95404
commit 0303c79b03

View File

@@ -3802,7 +3802,7 @@ if ${INSTALL_DMARC_REPORT_SUPPORT} ; then
# - ├── exports/ # CSV- und Top-Auswertungen # - ├── exports/ # CSV- und Top-Auswertungen
# - └── logs/ # Logdateien # - └── logs/ # Logdateien
echononl "Add directory Structure for collecting and analysing DMARC reports.." echononl "Add directory Structure for collecting and analysing DMARC reports.."
install -d -o root -g root -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
echo_ok echo_ok
else else