1
0
mirror of https://github.com/mailcow/mailcow-dockerized.git synced 2025-12-13 09:56:01 +00:00

fix: broken sogo cron notifications (for appointments etc.) (#6128)

This commit is contained in:
Niklas Meyer
2024-11-05 16:21:14 +01:00
committed by GitHub
parent 8b2f71f97e
commit 6ec1e357c3
3 changed files with 5 additions and 2 deletions

View File

@@ -371,6 +371,8 @@ EOF
# Create random master Password for SOGo SSO
RAND_PASS=$(cat /dev/urandom | tr -dc 'a-z0-9' | fold -w 32 | head -n 1)
echo -n ${RAND_PASS} > /etc/phpfpm/sogo-sso.pass
# Creating additional creds file for SOGo notify crons (calendars, etc)
echo -n ${RAND_USER}@mailcow.local:${RAND_PASS} > /etc/sogo/cron.creds
cat <<EOF > /etc/dovecot/sogo-sso.conf
# Autogenerated by mailcow
passdb {