From a753a438a4dd3ae7edf581ced2d60e2731d21f3d Mon Sep 17 00:00:00 2001
From: redray <redray@ispconfig3>
Date: Thu, 13 Nov 2008 20:20:18 -0500
Subject: [PATCH] - changed "AllowOverride all" for fast-cgi: fixes problems with i.e. serendipity blog - added fast-cgi part to ssl section
---
server/plugins-available/mail_plugin.inc.php | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/server/plugins-available/mail_plugin.inc.php b/server/plugins-available/mail_plugin.inc.php
index 5a5dd01..c0a29ad 100644
--- a/server/plugins-available/mail_plugin.inc.php
+++ b/server/plugins-available/mail_plugin.inc.php
@@ -81,6 +81,9 @@
exec('chown -R '.$mail_config['mailuser_name'].':'.$mail_config['mailuser_group'].' '.escapeshellcmd($data['new']['maildir']));
$app->log('Created Maildir: '.$data['new']['maildir'],LOGLEVEL_DEBUG);
}
+ //This is to fix the maildrop quota not being rebuilt after the quota is changed.
+ exec("su -c 'maildirmake -q ".$data['new']['quota']."S ".escapeshellcmd($data['new']['maildir'])."' ".$mail_config['mailuser_name']);
+ $app->log('Created Maildir: '."su -c 'maildirmake -q ".$data['new']['quota']."S ".escapeshellcmd($data['new']['maildir'])."' ".$mail_config['mailuser_name'],LOGLEVEL_DEBUG);
}
--
Gitblit v1.9.1