diff --git a/INSTALL_DEBIAN.txt b/INSTALL_DEBIAN.txt index a5cbe5643858e1483dfdd6416705b1d745941526..437e7e71b08b40644bcfa03e8feb4911300dfa75 100644 --- a/INSTALL_DEBIAN.txt +++ b/INSTALL_DEBIAN.txt @@ -41,7 +41,9 @@ vi /etc/default/pure-ftpd-common and change the start mode from inetd to standalone. -Edit the file /etc/inetd.conf vi /etc/inted.conf +Edit the file /etc/inetd.conf + +vi /etc/inetd.conf and comment out the line for the FTP service, so it looks like this: @@ -104,6 +106,22 @@ password: admin In case you get a permission denied error from apache, please restart the apache webserver process. +Optional: + +Install a webbased FTP Client + +apt-get install squirrelmail +ln -s /usr/share/squirrelmail/ /var/www/webmail + +Access squirrelmail: + +http://192.168.0.100/webmail + + +To configure squirrelmail, run: + +/usr/sbin/squirrelmail-configure + ---------------------------------------------------------------------------------------------------------- Hints: diff --git a/install/tpl/config.inc.php.master b/install/tpl/config.inc.php.master index a1b65b56657b0e737b4d1bc72b93289f5189284f..33469bd94400c198ec61a5872a44cb87a12e875e 100644 --- a/install/tpl/config.inc.php.master +++ b/install/tpl/config.inc.php.master @@ -106,7 +106,7 @@ define("DB_PASSWORD",$conf["db_password"]); */ $conf["log_file"] = $conf["rootpath"].$conf["fs_div"]."ispconfig.log"; -$conf["log_priority"] = 0; // 0 = Debug, 1 = Warning, 2 = Error +$conf["log_priority"] = 2; // 0 = Debug, 1 = Warning, 2 = Error /* Themes diff --git a/server/plugins-available/mail_plugin.inc.php b/server/plugins-available/mail_plugin.inc.php index e63d3f18ab3dc2642046a6a418628c79741b73e1..edc2483126d6e666e43fdf16588a9f7a194bae6b 100644 --- a/server/plugins-available/mail_plugin.inc.php +++ b/server/plugins-available/mail_plugin.inc.php @@ -61,9 +61,14 @@ class mail_plugin { function user_insert($event_name,$data) { global $app, $conf; + // get the config + $app->uses("getconf"); + $mail_config = $app->getconf->get_server_config($conf["server_id"], 'mail'); + // Create the maildir, if it does not exist if(!is_dir($data['new']['maildir'])) { exec('mkdir -p '.escapeshellcmd($data['new']['maildir'])); + exec('maildirmake '.escapeshellcmd($data['new']['maildir'])); exec('chown '.$mail_config['mailuser_name'].':'.$mail_config['mailuser_group'].' '.escapeshellcmd($data['new']['maildir'])); $app->log('Created Maildir: '.$data['new']['maildir'],LOGLEVEL_DEBUG); }