tbrehm
2008-08-18 b5f64f66d067aca300ce9651ded3023c3ffe8705
Fixed a bug in the installer that caused additional lines to be appended to postfix master.cf on every update.
1 files modified
2 ■■■ changed files
install/lib/installer_base.lib.php 2 ●●● patch | view | raw | blame | history
install/lib/installer_base.lib.php
@@ -504,7 +504,7 @@
        if(is_file($conf["postfix"]["config_dir"].'/master.cf')) copy($conf["postfix"]["config_dir"].'/master.cf',$conf["postfix"]["config_dir"].'/master.cf~');
        $content = rf("tpl/master_cf_amavis.master");
        // Only add the content if we had not addded it before
        if(!stristr("127.0.0.1:10025 inet n - - - - smtpd",$content)) {
        if(!stristr("127.0.0.1:10025",$content)) {
            af($conf["postfix"]["config_dir"].'/master.cf',$content);
        }