install_postfix_advanced.sh: fix permissions to service scripts for DMARC reporting.
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user