From 527b9e075fe38943ecd7c0224f1c0dd94b466d4f Mon Sep 17 00:00:00 2001 From: Daniel Winzen Date: Fri, 7 Jun 2024 17:58:15 +0200 Subject: [PATCH] Install quota plugin --- install_binaries.sh | 9 +++++++++ squirrelmail_plugin_hooks.php | 25 +++++++++++++++++++++++++ 2 files changed, 34 insertions(+) create mode 100644 squirrelmail_plugin_hooks.php diff --git a/install_binaries.sh b/install_binaries.sh index dfdc99c..2c0e8aa 100755 --- a/install_binaries.sh +++ b/install_binaries.sh @@ -72,6 +72,15 @@ else git pull fi +if [ ! -e /var/www/mail/www/squirrelmail/plugins/check_quota/ ]; then + cd /var/www/mail/www/squirrelmail/plugins/ + wget https://www.squirrelmail.org/plugins/check_quota-2.2-1.4.0.tar.gz + tar -zxf check_quota-2.2-1.4.0.tar.gz + rm check_quota-2.2-1.4.0.tar.gz + cd $workingdir + cp squirrelmail_plugin_hooks.php /var/www/mail/www/squirrelmail/config/plugin_hooks.php +fi + # install snappymail mkdir -p /var/www/mail/www/snappymail cd /var/www/mail/www/snappymail diff --git a/squirrelmail_plugin_hooks.php b/squirrelmail_plugin_hooks.php new file mode 100644 index 0000000..47cb5b5 --- /dev/null +++ b/squirrelmail_plugin_hooks.php @@ -0,0 +1,25 @@ +