From b0a1cc4ca5fc5d3811c86d238a0f08600a86604d Mon Sep 17 00:00:00 2001
From: pedro_morgan <pedro_morgan@ispconfig3>
Date: Sun, 19 Aug 2007 22:25:07 -0400
Subject: [PATCH] Added the mysql database to use

---
 server/plugins-enabled/getmail_plugin.inc.php |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/server/plugins-enabled/getmail_plugin.inc.php b/server/plugins-enabled/getmail_plugin.inc.php
index b65a087..0e4d279 100644
--- a/server/plugins-enabled/getmail_plugin.inc.php
+++ b/server/plugins-enabled/getmail_plugin.inc.php
@@ -114,6 +114,7 @@
 				file_put_contents($config_file_path,$tpl);
 				$app->log("Writing Getmail config file: $config_file_path",LOGLEVEL_DEBUG);
 				exec("chmod 400 $config_file_path");
+				exec("chown getmail $config_file_path");
 				unset($tpl);
 				unset($config_file_path);
 				

--
Gitblit v1.9.1