From e326996e0eebd7783c9eba4a5ec0b41ed6a69d72 Mon Sep 17 00:00:00 2001 From: tbrehm <t.brehm@ispconfig.org> Date: Tue, 05 Jun 2007 17:45:02 -0400 Subject: [PATCH] Added autoresponder function and custom maildrop rules. --- install/lib/installer_base.lib.php | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/install/lib/installer_base.lib.php b/install/lib/installer_base.lib.php index c1b4144..264d284 100644 --- a/install/lib/installer_base.lib.php +++ b/install/lib/installer_base.lib.php @@ -318,7 +318,7 @@ // Edit the file /etc/default/saslauthd $configfile = '/etc/default/saslauthd'; if(is_file($configfile)) copy($configfile,$configfile.'~'); - if(is_file($configfile.'~')) exec('chmod 400 '.$configfile.'/~'); + if(is_file($configfile.'~')) exec('chmod 400 '.$configfile.'~'); $content = rf($configfile); $content = str_replace('START=no','START=yes',$content); $content = str_replace('OPTIONS="-c"','OPTIONS="-m /var/spool/postfix/var/run/saslauthd -r"',$content); @@ -371,7 +371,7 @@ //authdaemonrc $configfile = $conf["dist_courier_config_dir"].'/authdaemonrc'; if(is_file($configfile)) copy($configfile,$configfile.'~'); - if(is_file($configfile.'~')) exec('chmod 400 '.$configfile.'/~'); + if(is_file($configfile.'~')) exec('chmod 400 '.$configfile.'~'); $content = rf($configfile); $content = str_replace('authmodulelist="authpam"','authmodulelist="authmysql"',$content); wf($configfile,$content); -- Gitblit v1.9.1