[Dovecot] Check if quarantine_notify.py holds a lock

[SOGo] Change default theme
This commit is contained in:
andryyy
2021-01-28 15:48:59 +01:00
parent 049b5ceb31
commit 410cb558ee
6 changed files with 288 additions and 165 deletions

View File

@@ -199,6 +199,8 @@ if [[ $(stat -c %U /var/vmail_index) != "vmail" ]] ; then chown -R vmail:vmail /
# Cleanup random user maildirs
rm -rf /var/vmail/mailcow.local/*
# Cleanup PIDs
[[ -f /tmp/quarantine_notify.pid ]] && rm /tmp/quarantine_notify.pid
# create sni configuration
echo "" > /etc/dovecot/sni.conf